NGrant.com wrote:
Hi Christian
I noticed in your sample code a call to VNStrCpy, where do I find this routine ?
Is it a routine of yours ?
Have you looked at the "TimeToAscii" function, which is part of the OS.
First you would use TimGetSeconds() to find the current time.
Feed that into TimSecondsToDateTime() to convert it to a DateTimeType.
Feed the Hours and Min from the DateTimeType structure into TimeToAscii() function which returns a formatted string.
Bob.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
