From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 3A486BC0B for ; Sun, 21 Jan 2007 10:53:38 +0100 (CET) Received: from smtp103.sbc.mail.mud.yahoo.com (smtp103.sbc.mail.mud.yahoo.com [68.142.198.202]) by concorde.inria.fr (8.13.6/8.13.6) with SMTP id l0L9rZPo014069 for ; Sun, 21 Jan 2007 10:53:37 +0100 Received: (qmail 89977 invoked from network); 21 Jan 2007 09:53:31 -0000 Received: from unknown (HELO ?192.168.1.100?) (rftp@pacbell.net@69.230.187.64 with plain) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 21 Jan 2007 09:53:31 -0000 X-YMail-OSG: gJ7M0QUVM1kjzrW2PELs0yj._L2Aay7W7ZY97Y7sGz4.Q8WufEOtJ1qQ_TTZb6MurydsPmrawMpyp9yBn6uAzoR3nlWlgz40l6sviwltIasB..7Hr4s- Message-ID: <45B33815.8010003@rftp.com> Date: Sun, 21 Jan 2007 01:53:25 -0800 From: Robert Roessler User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20070117 Mnenhy/0.7.4.0 SeaMonkey/1.5a MIME-Version: 1.0 To: Caml mailing list Subject: Re: [Caml-list] Time stamp module floating around? References: <6dbd4d000701201842h5130b540x97648a3d2d058e6e@mail.gmail.com> <1169369029.6178.2.camel@rosella.wigram> <20070121092451.GA19604@clipper.ens.fr> In-Reply-To: <20070121092451.GA19604@clipper.ens.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Miltered: at concorde with ID 45B3381F.002 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; lexical:01 wrote:01 caml-list:01 breaks:02 parse:02 string:02 module:03 stamp:06 ecrit:06 indeed:07 nicolas:08 fields:11 fields:11 robert:12 robert:12 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