> > > 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
heh.. why do the calculation when you can do the math in the other
way? *g*
days = 2082844800 / 24 / 60 / 60;
days = { seconds } / { hours } / { minutes in hour } / { seconds in
minute }
:)
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/