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

days_yrbasis (routine)

Calculate the number of days in the year around the given date

Introduced in release: 1.0
Component: Generic
Purpose: Calculates the number of days between a given date in the format month, day, year and a date one year forward of the given date. This calculation is done to get the number of days in a year to be used for note and discount securities calculations.

Alternatives: To calculate the number of days in a year using a method other than one year forward use days_act_yr.

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

Last Mod Date: 03/23/1994© 2001 TIPS, Inc.Doc Version: 5.0