Suppose a user of your website enters a date range.
2009-1-1 to 2009-1-3
You need to send this date to a server for some processing, but th
This is what I have done in the past:
var utcDateString = new Date(new Date().toUTCString()).toISOString();