Go To Documentation Main IndexMain Index
Go To TIPS, Inc.TIPS Home
jpgb_num_yrs

jpgb_num_yrs (routine)

Calculates the number of years between two dates (Japanese rules)

Introduced in release: 1.2
Component: Generic
Purpose: Calculates the number of years between two given dates using Japanese rules as follows: If the number of years is greater than one then the denominator is 365 otherwise the denominator is the actual number of days in the year.

Results: The fractional part is calculated on the basis of the number of days in the year following the rule above. The integer part is the actual number of years between the two dates.

Error Conditions: Returned values should be ignored for a non-zero status. See Errors.

Last Mod Date: 12/14/1995© 2001 TIPS, Inc.Doc Version: 5.0