you can try this...
DateTimeType dateTime;
TimSecondsToDateTime (TimGetSeconds (), &dateTime);
At 01:16 03/06/00 +0800, you wrote:
>Hello!
>
>Can someone help me with these 2 lines of code?? It's driving me nuts!
>
> DateType date;
>
> // Determine today's date
> DateSecondsToDate (TimGetSeconds(), &date);
>
>I personally don't see what's wrong with this code, but it always returns me
>the wrong date. What's the catch?
>
>Regards,
>Gee.
>
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
>please see http://www.palmos.com/dev/tech/support/forums/
______________________________________
Luiz Fernando Barbosa
Analista de Sistemas / Palm Developer
E-Mail <mailto:[EMAIL PROTECTED]>
ARCOM Com. Imp. Exp. Ltda
Anel Viario Ayrton Senna, 2001 - Distrito Industrial
Uberlandia - Minas Gerais - Brazil - Cep: 38414-512
Phone: +55 (0xx34) 218-4054 Fax: +55 (0xx34) 218-4100
____________________________________________
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/