Jump to content

Kuwaiti algorithm

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 131.211.42.121 (talk) at 12:46, 30 April 2006. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Microsoft uses the Kuwaiti algorithm to convert between dates in the Western standard Gregorian calendar and dates in the Hijri or Islamic calendar. There is no fixed correspondence defined in advance between the Gregorian solar calendar and the Islamic lunar calendar, since the latter is defined by the visibility of the new moon by religious authorities and can therefore vary by a day or two, depending on the particular Islamic authority, weather conditions, and other variables. As an attempt to make conversions between the calendars somewhat predictable, Microsoft claims to have created this algorithm based on statistical analysis of historical data from Kuwait. However, its results are identical to a variation of the tabular Islamic calendar, which was introduced by Islamic astronomers around the eighth century.

Inevitably, any arithmetic algorithm is imprecise, and results often differ by a day or two from observation or complex calculation.