Roeland Th. Jansen wrote:
> On Sun, Oct 14, 2001 at 05:07:53PM -0700, H. Peter Anvin wrote:
>
>>YYYY-MM-DD is also unambiguous, and has the nice properties of being
>>(a) sortable and (b) language-independent.
>>
>
> it only is unambiguous if you happen to know the format beforehand.
>
It is, but unlike all other numeric formats there is no conflicting format
in use.
> 20011001 is ?
>
> 10 oct 2001 ?
> 01 jan 2001 ?
>
1 Oct 2001, whereas "01/10/2001" would be read as Jan 10, 2001 or Oct 1,
2001 in differents part of the world.
Using language-specific codes are fine and well only if you know for sure
which language was used.
-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:58 EST