[JDEV] Message timestamps

Benjamin Kahn xkahn at cybersites.com
Mon Oct 4 17:47:02 CDT 1999


	Although I was joking, my suggestion isn't TOTALLY without merit.
This is why:

	This format is the preferred method of dealing with dates when
using C and C++.  As such, I don't know of ANY language which doesn't
support dates in this format.  (Including date manipulation routines.)  

	Jabber seems to be trying for a human parsable format with XML.
That's fine, and a worthy goal, so having a date like
<datetime>939077263</datetime> isn't a good idea, but in general this is
the best way to do it.
 
On Mon, 4 Oct 1999, Vivre Draco wrote:

> Date: Mon, 4 Oct 1999 17:38:25 -0500
> From: Vivre Draco <cfc at bigfoot.com>
> Reply-To: jdev at jabber.org
> To: jdev at jabber.org
> Subject: Re: [JDEV] Message timestamps
> 
> 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.
> 
> --
> Get Paid to Surf the Web! Find out more at:
> http://www.alladvantage.com/go.asp?refid=AZY-668
> 
> Copyright 1999 Vivre Draco (cfc at bigfoot.com)
> excelsior ad infinitum -- http://www.paganpaths.org/~cfc/
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 

						-Ben

------------------------------------ |\      _,,,--,,_  ,) ----------
Benjamin Kahn                        /,`.-'`'   -,  ;-;;'
(212) 924 - 2220 ext 201            |,4-  ) )-,_ ) /\
ben at cybersites.com --------------- '---''(_/--' (_/-' ---------------
	Q: Why does it crash?
	A: Woah! You should have seen it last week! 
	    -- Linux NETFILTER-HOWTO








More information about the JDev mailing list