Possible Duplicate:
How do I output an ISO-8601 formatted string in Javascript?
If I have an integer that represents a date in milliseconds, what is the syntax to convert this to an iso format?
Possible Duplicate:
How do I output an ISO-8601 formatted string in Javascript?
If I have an integer that represents a date in milliseconds, what is the syntax to convert this to an iso format?
new Date(value);
from here, where value represent the milliseconds since 1970. And you could then call toISOString on yr date object.