[whatwg] input=datetime and unixtime?

Ian Hickson ian at hixie.ch
Mon Nov 10 13:01:02 PST 2008


On Wed, 30 Jul 2008, Tab Atkins Jr. wrote:
>
> I did some searching through the archives, but didn't find anything at 
> all that talked about this.  Out of curiousity, was there a reason that 
> datetime doesn't store/send it's value as a unix timestamp?  True, the 
> standard unixtime unit is insufficient for representing a useful range 
> of dates, but systems are gradually moving toward representing unixtime 
> with a 64-bit integer.

The main reason for using the human-readable form is that we want the 
value="" attribute to be human-writable, and we want the value="" 
attribute value to be round-trippable in down-level clients.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list