Re: DOMTimeStamp interface not defined in L3 events...

This is HTML5 definition of a "valid global date and time string" which is a
string:

http://dev.w3.org/html5/spec/Overview.html#valid-global-date-and-time-string

It's very similar to what the ISO8601 Date String format (see the W3C Note:
datetime, http://www.w3.org/TR/NOTE-datetime)

In JavaScript code on the client side, you often are working with date
objects. So this format is more difficult to work with because (I believe)
you have to write a function to parse it into a date object.

However, imho, to transfer to the server side, you generally want the above
mentioned date/time string format. It's compatible with a lot of server side
technologies and databases.

I think it would be great if both formats were available. Or it would be
nice if JavaScript had a built in method to convert such strings into date
objects.

--Jacob

Received on Wednesday, 30 September 2009 22:44:42 UTC