[JDEV] Message timestamps

Benjamin Holzman bah at orientation.com
Mon Oct 4 17:50:34 CDT 1999


Vivre Draco wrote:
> 
> On 4 Oct 99,, Benjamin Kahn sounded off on Re: [JDEV] Message timestamps:
> 
> >       Or, how about the number of seconds since 1970?  If we are
> > worried about year 2038 issues, we can use a 64-bit number.  ;^)
> 
>    IMHO, a human-readable format is highly preferable -- it minimizes
> the client requirements, which seems to be one of Jabber's
> philosophies. The ISO 8601 or SMTP standards look like the best
> options so far.
> 

               ISO 8601                 RFC 822
Advantages:    Concise                  Somewhat Concise
               Always GMT               Human-readable
               Sorts lexicographically
Disadvantages: A tad cryptic            Not always GMT; can be confusing
to clients
               Not Y10K compliant       Not Y10K compliant

-- 
|        Ben Holzman                       bah at orientation.com       |
|      orientation.com                     Tel: +1 212 966 5553 x219 |
|  Senior Software Engineer                Fax: +1 212 966 5554      | 
$ perl -l040e 'print ucfirst for reverse qw/hacker perl another just/'




More information about the JDev mailing list