I am trying to send UTC time-stamp to rest service from my javascript client. i was not able to create time-stamp like "2013-08-30T19:52:28.226Z" using javascript.
var rawDate = date.getUTCDate().toString();
i see this example but not helpful for me. utc-time-stame-javascript
new Date()? It returns the (complete) current date, with all the properties of the Date object, in your case(new Date()).toJSON()should work