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

ymdhms-to-arpadate

 
 

Library: 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 string function ymdhms-to-arpadate value string  ymdhms

Argument definitions

ymdhms
a date in "YYYYMMDDhhmmss+ZHZM" format.


Purpose

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

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
 
 

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

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

Copyright © Stilo International plc, 1988-2010.