VMS Help PASCAL, Predeclared Routines, Misc, NONSTANDARD_DATE_AND_TIME *Conan The Librarian (sorry for the slow response - running on an old VAX) |
These procedures write the date and the time to their parameters. These procedures are Compaq Pascal extensions, and have the forms: DATE( str ) TIME( str ) The parameter 'str' must be of type PACKED ARRAY[1..11] OF CHAR. After execution of the procedure, the 'str' contains either the date or the time. If the day of the month is a 1-digit number, the leading zero does not appear in the result; that is, a space appears before the date string. The time is returned in 24-hour format.
|