Thu Jan 28 1999

ARMRCALC

Subject: ARMRCALC14

Function: today(0)


x=today(0)

Purpose

Use the today function in order to read the current date from the operating system.

The output is a Gregorian date; the latter is in standard ARMR YMD format.

Note

The today function has the dummy argument "0". This is required merely so that ARMRCALC's compiler will recognize the function.

Example

The following calc program sets as_of_date to today's date if the user did not provide an as_of_date:

      prune_start=
         bracket_start=
            field= as_of_Date
            range= 0 0
            match= keep
         bracket_end=
      prune_end=

      calc_start= keep
         as_of_Date= today(0)
      calc_end=