Date Conversions

  

DEVELOPER

PROIV Developer allows for numeric and alphanumeric representation of dates.  Numeric dates represent the calculation of the number of days that have passed since December 31, 1799.  The use of this common base date makes arithmetic possible.

Alphanumeric representation allows the formatting of dates in commonly used formats for output display.  Internally, alphanumeric dates may be stored as either YYMMDD or YYYYMMDD. 

When using YYMMDD, the first two digits of the year are assumed to be 19 if YY => 50 otherwise it is assumed to be 20.

The date conversion command is:

Logic Command

Description
 

CDATE

Converts alphanumeric dates to numeric format, or vice versa.

Setting the environment variable CDATE_50=Y causes CDATE to use the 50-year rule for two-digit years.

 

 

Comment on this topic

Topic ID: 520147