Applications and Geodes: 4.1 General System Utilities: System Clock

Up: GEOS SDK TechDocs | Up | Prev: 4 General System Utilities | Next: 4.2 Using Timers
TimerGetDateAndTime(), TimerSetDateAndTime(), TimerGetFileDateTime()

The system clock reflects the current date and time of day. TimerGetDateAndTime() takes a pointer to a TimerDateAndTime structure and fills it with the current year, month, day, day of week, hour, minute, and second. TimerGetFileDateTime() is a similar function--it gets the current date and time, returning them in structures used when working with files. TimerSetDateAndTime() sets the current date and time to the values in the passed structure. It is unusual for any application other than the Preferences Manager to change the system clock.


Up: GEOS SDK TechDocs | Up | Prev: 4 General System Utilities | Next: 4.2 Using Timers