Printer Version Table of Contents Project Home Page
.FUNCTION....: DIF - find the number of days between two dates
.CATEGORY....: functions
.DISCUSSION..:
Returns number of days between /Adate and /Bdate

The order of the two dates is not significant.

NOTE THAT

For DIF, both dates must be in the SAME format, the input format specified in /Iformat. If the two dates are not in the same format, you must first reformat one of the dates using the /Ff function, then use DIF to get their difference.

.FORMAT......:
  Fdate /Fdif /Adate /Bdate /Iformat

.EXAMPLES....:
  Fdate /Fdif /A01-01-1992 /B11-11-1992  /Imm-dd-ccyy
  Fdate /Fdif /A11-11-1992 /B01-01-1992  /Imm-dd-ccyy
  Fdate /Fdif /Atoday      /B01-01-1992  /Imm-dd-ccyy