swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
  Related Syntax    
operator   compiled-date    

Return type: String
Returns:       

The formatted compiled-date string.



Syntax
  compiled-date string-expression


Purpose

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.

    Related Syntax
   date
 
 
----  

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ OMX ] [ OMX ] [ ERRORS ]

Generated: August 11, 2000 at 3:07:02 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.