RMNLIB

(DIFDAT)

BASE


SUBROUTINE DIFDAT (idate1, idate2, NHOURS)


ARGUMENTS

OUT

IN


DESCRIPTION

Computes NHOURS=IDATE1-IDATE2. IDATE1 and IDATE2 must be valid (old or new) CMC date-time stamps.

EXAMPLE

Number 1

NOTES

- if difdat receives bad arguments, it returns nhours=2**30
- see incdatr for details on cmc date-time stamps
- idate1 and idate2 will be rounded to the nearest hour before 
  nhours is computed
- for this reason, it is recommended to use difdatr instead

SEE ALSO

datec, difdatr, incdat, incdatr, jdatec, newdate

Return to RPN home page