Fri Jan 29 1999

ARMRCALC

Subject: ARMRCALC16

Function: getasd(y)       getymd(y)


x=getasd(y)

Purpose

Use the getasd function if you need to perform date arithmetic. The current function converts a Gregorian (YMD) date to an absolute serial date. Our absolute serial dates are valid indefinitely.

Example

The following calc computes account ages:

      calc_start=
         Age=getasd(as_of_Date)-getasd(Date)
      calc_end=

x=getymd(y)

Purpose

The getymd function complements the getasd function. The current function returns a Gregorian date (YMD format) for a given absolute serial date. This function, like getasd is used primarily for date arithmetic.

Example

See final example shown for bweekend function!