Nimble Coder

Adventures in Nimble Coding
posts - 77, comments - 56, trackbacks - 1

Convert date to UTC format in JavaScript

A couple of years ago I had to print dates in JavaScript in UTC (ISO-8601) format. Here is the function that I developed. It assumes the date object has the correct time zone offset and uses the time zone offset from the object.
I also developed server-side C# code for formatting dates in ASP.NET pages which I'll post soon.

Print | posted on Tuesday, January 23, 2007 10:45 AM | Filed Under [ JavaScript ]

Feedback

No comments posted yet.

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 8 and 4 and type the answer here:

Powered by: