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

incr_by_yrs (routine)

Increment a date by R years, where R can include a fractional portion of a year

Introduced in release: 1.0
Component: Generic
Purpose: Takes 3 separate variables for month, day and 4 digit year, and a number of years to increment the date by. The increment can contain a fractional number of years, in which case the fraction will be based on the number of days in the year in which the date falls.

Results: The date represented by p_month, p_day and p_year is incremented by the number of years and the result is returned in the same variables.

Error Conditions: If the number of years to be incremented is less than zero, status will be returned as 5200.

Last Mod Date: 03/15/1995© 2001 TIPS, Inc.Doc Version: 5.0