DATE_TO_YEAR
Name
DATE_TO_YEAR
Purpose
This converts a CDATE structure to a time in years (year plus decimal fraction).
Category
Date and time calculations.
Calling Sequence
year = DATE_TO_YEAR(date)
Input
date : {CDATE} or {CDATE_NO_LEAP} structure.
Output
date in years (FLOAT).
Keywords
None.
Modification History
KPB, April, 1999.
Modified to handle NO_LEAP date and time structures, KPB, March, 2001.