On Tue, Feb 04, 2003 at 09:28:51PM -0300, Adrian Nicolaiev wrote:
> > yeah, I guess the fact that my value wasn't a multiple of
> > 3600 should have tipped me off that it wasn't right. is this
> > value defined in the CDK or PalmOS SDK anywhere or do I need
> > to write it down and put it in my safety deposit box?
>
> 2082844800 may be reproduced by plugging the 1970 date and time into the
> Palm OS routine TimDateTimeToSeconds.
Or by doing some calendrical calculations ("Calendrical Calculations" -
Cambridge University Press, 1997): there are 24107 days between
January 1, 1904 and January 1, 1970. So:
24107 * 24 * 3600 == 2082844800
Ciao,
Marco
--
========================================================================
Marco Pantaleoni [EMAIL PROTECTED]
Padova, Italy [EMAIL PROTECTED]
elastiC language developer http://www.elasticworld.org
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/