swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
      Other Library Functions  
function   format-ymdhms    

Library: omdate - date and time functions
Include: omdate.xin
Return type: String
Returns:       

The specified date in the indicated format.


Declaration

  define stream function format-ymdhms value stream date-format
                             with-date value stream ymdhms


Purpose

This function takes a date/time in "YYYYMMDDhhmmss+ZHZM" format and returns it formatted as for the OmniMark date operator.

Arguments:

Example:

  output format-ymdhms "Now == =W, =xD =n =xY, =h:=m:=s =a.m. =t%n"
     with-date now-as-ymdhms

        Other Library Functions
   add-to-ymdhms
   arpadate-to-ymdhms
   format-ymdhms
   now-as-ymdhms
   round-down-ymdhms
   round-up-ymdhms
   ymd-weekday
   ymdhms-adjust-time-zone
   ymdhms-day-difference
   ymdhms-julian-day-count
   ymdhms-month-difference
   ymdhms-second-difference
   ymdhms-to-arpadate
 
----  

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

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

Copyright © OmniMark Technologies Corporation, 1988-2000.