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. > //Timestamp: 2007/1/13 5:36:37 (local) It is a shame that whoever designed the tm structure in the first place forgot the tm_gmtoff field. Regards, -- Nicolas George