HiLMAs reference
Back

Miscellaneous Instructions

Next

CONVDATE

CONVDATE

 

Description

Convert a date using Hilmas system variables. Supported dates are from 1900 to 2100.

Input to this statement are these Hilmas numeric variables (that must be filled by user):

$DAYH DS   H Day in Half Integer
$MONTHH DS   H Month in Half Integer
$YEARH DS   H Year in Half Integer

 

In Output there are these Hilmas variables:

$DATE DS   CL8 Date in European format DD/MM/YY
$DAYJUL DS   F Julian day: a huge number
$DAYNUM DS   H days counter from 1 Jan of the specified year
$DAYWEEK DS   H day of week in number
$LAPYEAR DS   H 0 if leap year, otherwise years spent from last leap year
$CYFLAG DS   H Century flag: 0 if year < 2000 otherwise 1

 

Note that :

 

Examples

 


Back Start Next
TIMEDATE Top SLEEP