[whatwg] date/time types

Johnny Stenback jst at mozilla.org
Fri Jun 11 11:57:02 PDT 2004


Yeah, like good ol' Unix's date command does it too ("man date" for 
specifics).

Menno van Slooten wrote:
> Dean Edwards wrote:
> 
>> would it be useful to extend the "precision" attribute to cover 
>> dates/times? this might eliminate the need for some of the extra input 
>> types.
> 
> 
> 
> Maybe a "format" attribute would be more appropriate. Its range of 
> values could be similar or equal to that of the PHP date(format) function:
> 
> http://nl2.php.net/manual/en/function.date.php
> 
> 

-- 
jst



More information about the whatwg mailing list