![]() |
SecondsToDate |
||||
Header: | DateTimeUtils.h | Carbon status: | Supported | |
Converts a number of seconds elapsed since midnight, January 1, 1904 to a date and time.
void SecondsToDate ( UInt32 secs, DateTimeRec *d );
The number of seconds elapsed since midnight, January 1, 1904.
On return, the fields of the date-time structure that contain the date and time corresponding to the value indicated in the s parameter.
The system software uses the SecondsToDate function provided by the current script system.
The SecondsToDate function is also available as the Secs2Date function.
For a complete description of the date-time record, see DateTimeRec.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)