swirl
Guide to OmniMark 7   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
      Other Library Functions  
function  

ymdhms-to-arpadate

 
 

Library: General, Date and time functions (OMDATE)
Include: omdate.xin
Return type: String
Returns: 

Returns the specified date in standard ARPA/Internet RFC-822 format.


Declaration

  define stream function ymdhms-to-arpadate value stream ymdhms


Purpose

This function takes a date/time in "YYYYMMDDhhmmss+ZHZM" format and returns it in standard ARPA/Internet RFC-822 format.

Argument:

Example:

  include "omdate.xin"
  process
     output "Current date and time, in arpa format = "
     || ymdhms-to-arpadate now-as-ymdhms
     || "%n"
  ; The result of this program on February 19, 2001:
  ;      Current date and time, in ARPA format = Mon, 19 Feb 2001 13:51:39 -0500

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

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

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

Copyright © Stilo Corporation, 1988-2005.