Thanks for the tip about TimDateTimeToSeconds and its companion....
Although I knew of these functions, I hadn't realized that they enabled
me to avoid the DateType completely.
The rest of this thread has been an interesting read as well!
Dan
Richard Burmeister wrote:
> > From: Dan Samber
> >
> > I *think* that if there were another method (like a DateTimeToSeconds()
> > function or a DateTimeToDays() function) that would allow for
> > easy manipulation
> > of dates (comparisons, additions etc), I could avoid the annoying DateType
> > completely... but as far as I can see.... Bupkiss! (nuttin!)
> >
> > Am I missing something?
> >
>
> Have you looked at TimDateTimeToSeconds and TimSecondsToDateTime ? They are
> easy to use.
>
> RE: the "1904 dance" ... Macs store the year as (year-1904). Don't ask why.
> There were no Macs in 1904, other than the ones the Brits wore. :)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/