Re: Date Fields in HTML

That's a good idea but there is a problem. The user agent would have to 
understand the date format the it's converting from and it has no way of 
telling whether or not 1/12/04 is supposed to be January 12, 2004 or 
December 1, 2004 or even some other date. Then you must also define what 
form to write the date in inside the date element.
In the spec it could say exactly how to write the date so the user agent 
knows how to convert it.
<Arthur/>

James Brown wrote:

>Would it not be useful for XHTML and HTML to include a date tag along the
>lines of:
>
>    &gt;date format="us"&lt;
>
>or:
>
>    &gt;date format="uk"&lt;
>
>to mark dates.  Enabled browsers could then convert the date to the
>preferred local format (as defined by the user's operating system).  This
>would prevent user error with unclear dates such as 04/06/03 or 07/04/2003,
>and would make reading foreign pages much easier.
>
>Regards,
>
>James Brown
>DreamBreed.com
>
>
>  
>

Received on Monday, 2 June 2003 17:17:21 UTC