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
var myDate = new Date(); // Set this to your date in whichever timezone. var utcDate = myDate.toUTCString();