operator
compiled-date string-expression
compiled-date
returns the date and time taken when the OmniMark program was compiled.
The compiled-date
operator must be followed by a string expression that can contain ordinary characters, format items, and date format items. Ordinary characters are passed through unchanged, and the format items are replaced with the appropriate values.
For example, the following process rule will output the current date in a "YY/MM/DD" format, and it will output the time the program was compiled in an "HH:MM:SS" format:
process local stream today local stream comptime set today to date "=Y/=M/=D%n" output today || "%n" set comptime to compiled-date "=h:=m:=s%n" output comptime || "%n"
For a list of format items for compiled-date
, see the date
entry.