Hi Sylvia,
Yep, use the following:
DateTimeType dateTime;
TimSecondsToDateTime (TimGetSeconds(), &dateTime);
DateTimeType is defined as:
typedef struct {
SWord second;
SWord minute;
SWord hour;
SWord day;
SWord month;
SWord year;
SWord weekDay; // Days since Sunday (0 to 6)
} DateTimeType;
Hope that helps!
Seeya,
David
---
David Oakley - [EMAIL PROTECTED] - ICQ 9610512
partner, Astraware - http://www.astraware.com/
Fire! for PalmPilot: http://www.astraware.com/pfire.html
Coming soon: Astroids for PalmPilot!
----- Original Message -----
From: Silvia Brunet <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 21 May 1999 19:59
Subject: Systems Data and Time
> Is there some kind of system function to retrive the systems data and
time?
>
>
> Thanks
>
> Silvia
>