360-day calendar

The 360-day calendar is a method of measuring durations used in financial markets, in computer models, in ancient literature, and in prophetic literary genres. It is based on merging the three major calendar systems into one complex clock, with the 360-day year as the average year of the lunar and the solar: [365.2425 (solar) + 354.3829 (lunar)] ÷ 2 = 719.61 ÷ 2 = 359.8 days rounded to 360. It is a simplification to a 360-day year, consisting of 12 months of 30 days each. To derive such a calendar from the standard Gregorian calendar, certain days are skipped.

A duration is calculated as an integral number of days between two dates A and B (where by convention A is earlier than B). There are two methods commonly available which differ in the way that they handle the cases where the months are not 30 days long:

In both cases the difference between the possibly-adjusted dates is then computed by treating all intervening months as being 30 days long.

Other methods include the ISDA 360-day calendar, and the PSA 360-day calendar.

Standard software implementations

The 360-day calendar is implemented by the following spreadsheet functions.

Package Function
Microsoft Excel DAYS360 (not SIA-compliant)[3]
StarOffice/OpenOffice.org DAYS360 (also not SIA-compliant, to maintain Excel compatibility)[4]
SQL Server 2000 Analysis Services Days360
Mathworks Financial Toolbox days360 (US/NASD)
Mathworks Financial Toolbox days360e (European)
Mathworks Financial Toolbox days360isda (ISDA)
Mathworks Financial Toolbox days360psa (PSA)
Gnumeric DAYS360

See also

References

  1. ISMA book “Bond Markets: Structures and Yield Calculations”, ISBN 1-901912-02-7, and ISMA’s Circular 14 of 1997
  2. Standard Securities Calculation Methods, Fixed Income Securities Formulas for Price, Yield, and Accrued Interest: Volume 1, 1993, Jan Mayle, New York, NY: Securities Industry Association, ISBN 1882936019
  3. See Microsoft Kb Article 916004. This bug is present in Excel versions 97, 2000, 2002, 2003 and 2007. This can be demonstrated by evaluating DAYS360(DATE(2006,2,28),DATE(2007,2,28)); here years starting and ending on the last day in February only have 358 days.
  4. See Issue 84934 ODFF: DAYS360 compliance