- Inside Macintosh: Text /
- Chapter 5 - Text Utilities / Text Utilities Reference
- Routines
Converting Long Date and Time Values Into Strings
This section describes two procedures that use the LongDateTime data type in their conversions. This is a 64-bit, signed representation of the number of seconds since Jan. 1, 1904, which allows coverage of a much longer span of time (plus or minus approximately 30,000 years) than the standard, 32-bit representation. LongDateTime values are described in the book Inside Macintosh: Operating System Utilities.
- The
LongDateString procedure converts a date in LongDateTime representation into a string, making use of the date formatting information from a specified resource. If you specify NIL as the value of the resource handle parameter, LongDateString uses information from the current script.
- The
LongTimeString procedure converts a time in LongDateTime representation into a string, making use of the date formatting information from a specified resource. If you specify NIL as the value of the resource handle parameter, LongTimeString uses information from the current script.
Subtopics
- LongDateString
-
- LongTimeString
-
© Apple Computer, Inc.
6 JUL 1996