Converting Between Long Date-Time FormatThe Date, Time, and Measurement Utilities provide two procedures,
LongDateToSeconds, that you can use to convert between long date-time formats. You can convert a number of seconds to a date and time and a date and time to a number of seconds.
If you use a long date-time value (used to access a number of seconds) or a long date-time record (used to access a date and time) to access date-time information, you can use the
LongDateToSecondsprocedures to convert between these date-time formats. Use the
LongSecondsToDateprocedure to convert a number of seconds to a date and time, and use the
LongDateToSecondsprocedure to convert a date and time to a number of seconds.
- The system software uses the
LongDateToSecondsprocedures provided by the current script system.