Browse thread
Time stamp module floating around?
-
Denis Bueno
- Chris King
-
skaller
-
Nicolas George
- Robert Roessler
-
Nicolas George
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Robert Roessler <roessler@r...> |
| Subject: | Re: [Caml-list] Time stamp module floating around? |
Nicolas George wrote: > Le duodi 2 pluviôse, an CCXV, skaller a écrit : >> //Timestamp: 2007/1/12 18:36:37 UTC > > I would strongly advise you tu use fixed-length fields with leading zeros: > the big advantage of using the year-month-day order, instead of > month-day-year or day-month-year, is that the lexical order of the string is > the same as the chronological order of the date. Using variable-length > fields breaks this. Furthermore, it makes it harder to parse the timestamp. > > On the other hand, it is important not to forget "UTC". > > While I am at it, I believe that yyyy-mm-dd is a more common format as > yyyy/mm/dd. Indeed... it is called ISO 8601. :) Robert Roessler roessler@rftp.com http://www.rftp.com