They’re for different purposes.
- UTC is the primary time standard by which the world regulates clocks and time.
- ISO is standard format time. ISO also supports
msin its format.
So if you want to send data to the server, send the ISO, because ISO is the standard format:
var date = new Date();
sendDate(date.toISOString());
You can also use toISOString in IE7 polyfill.