swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  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
 
 
 

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

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:51:21 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.