swirl
Guide to OmniMark 7   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
   date
 
 
 

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

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:00 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.