How about using a global DateTimeType variable to store the selection.
LionScribe

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Luc Le
Blanc
Sent: Wednesday, September 17, 2003 2:18 PM
To: Palm Developer Forum
Subject: Converting formatted date to seconds


I have a selector trigger to select a date in a modal dialog. Once out
of that dialog, I can read the selector trigger label. But how can I
convert this formatted ASCII date back into a number of seconds? I don't
find any API to interpret a formated date into a DateTimeType or
seconds.

Is the only simple solution to keep a static DateTimeType in the dialog
to hold the result of SelectDate() and replace the selector trigger
label by the number of seconds just before exiting the dialog?


--
Luc Le Blanc


--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to