Well, yes, of course, to return the seconds as a UInt32 value...but he
specifically stated that he wanted a date struct returned. =)
-Rus
On 12/12/00 at 1:00 AM Jim Cooper wrote:
>> Check out the DateTime.h header file. The date is stored in a
>> DateTimeType structure, and you can use any of the DateTime functions
>> within the PalmOS API.
>
>And there are types that hold just the date or just the time, too, that
>are a lot smaller.
>
>You probably need the TimGetSeconds() function to get the current date
>and time in seconds since 1/1/1904. You can convert that to a
>DateTimeType using TimSecondsToDateTime().
>
>Cheers,
>Jim Cooper
>
>_____________________________________________
>
>Jim Cooper [EMAIL PROTECTED]
>Tabdee Ltd http://www.tabdee.ltd.uk
>
>TurboSync - Writing Palm conduits with Delphi
>_____________________________________________
>
>Learn how to program Palms in Pascal with the
>Pocket Studio Early Experience Program!
>
> http://www.middlecloud.com
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe, please see
>http://www.palmos.com/dev/tech/support/forums/
Rus Daniel Nesse
Systems Developer
[EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/