Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Robert Roessler <roessler@rftp.com>
To: Caml mailing list <caml-list@inria.fr>
Subject: Re: [Caml-list] Time stamp module floating around?
Date: Sun, 21 Jan 2007 01:53:25 -0800	[thread overview]
Message-ID: <45B33815.8010003@rftp.com> (raw)
In-Reply-To: <20070121092451.GA19604@clipper.ens.fr>

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


      reply	other threads:[~2007-01-21  9:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-21  2:42 Denis Bueno
2007-01-21  3:48 ` [Caml-list] " Chris King
2007-01-21  8:43 ` skaller
2007-01-21  9:24   ` Nicolas George
2007-01-21  9:53     ` Robert Roessler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45B33815.8010003@rftp.com \
    --to=roessler@rftp.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox