COMPILETIME returns a CHARACTER string of length 18 containing the date and the time of compilation.
|
The format of the string returned by COMPILETIME is:
A leading zero in the day of the month field is replaced by a blank; no other leading zeros are suppressed.
If no timing facility is available, the last 8 characters of the returned string are set to 00.00.00.
The following example shows how to print the string returned by COMPILETIME when your program is executed:
%DECLARE COMP_TIME CHAR; %COMP_TIME=QUOTE(COMPILETIME); PUT EDIT (COMP_TIME) (A);