The right way to do it is to use the DateTemplateToAscii or DateGlueTemplateToAscii function. Otherwise you can use the DateToAscii function with the dfYMDLongWithDot option, and then replace the dots with slashes. LionScribe
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of www.msale.net Sent: Sunday, August 31, 2003 10:08 PM To: Palm Developer Forum Subject: how do I convert DateTimeType to Char* DateTimeType dayTime; TimSecondsToDateTime(dbCreatedate, &dayTime); I want to convert DateTimeType data type to Char* data type,and its format is YYYY/MM/DD.I find DateToAscii function can't do it.Please help me. BTW,is it different between OS3.5 and OS5? -- 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/
