Jump to content

Kuwaiti algorithm: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Dbachmann (talk | contribs)
No edit summary
Dbachmann (talk | contribs)
No edit summary
Line 2: Line 2:
{{merge|Tabular Islamic calendar}}
{{merge|Tabular Islamic calendar}}
The '''Kuwaiti algorithm''' is used by [[Microsoft]] to convert between [[Gregorian calendar]] dates and [[Islamic calendar]] dates.<ref>[http://www.microsoft.com/globaldev/DrIntl/columns/002/default.mspx#EAD Hijri Dates in SQL Server 2000] from Microsoft{{dead link}}</ref><ref>Kriegel, Alex, and Boris M. Trukhnov. SQL Bible. Indianapolis, IN: Wiley, 2008. Page 383.</ref> 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 Muslim astronomers around the eighth century.<ref>[http://www.staff.science.uu.nl/~gent0113/islam/islam_tabcal.htm The "Kuwait algorithm" in Islamic-Western Calendar Converter by Robert van Gent]</ref>
The '''Kuwaiti algorithm''' is used by [[Microsoft]] to convert between [[Gregorian calendar]] dates and [[Islamic calendar]] dates.<ref>[http://www.microsoft.com/globaldev/DrIntl/columns/002/default.mspx#EAD Hijri Dates in SQL Server 2000] from Microsoft{{dead link}}</ref><ref>Kriegel, Alex, and Boris M. Trukhnov. SQL Bible. Indianapolis, IN: Wiley, 2008. Page 383.</ref> 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 Muslim astronomers around the eighth century.<ref>[http://www.staff.science.uu.nl/~gent0113/islam/islam_tabcal.htm The "Kuwait algorithm" in Islamic-Western Calendar Converter by Robert van Gent]</ref>

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


==References==
==References==

Revision as of 07:16, 11 April 2012

The Kuwaiti algorithm is used by Microsoft to convert between Gregorian calendar dates and Islamic calendar dates.[1][2] 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 Muslim astronomers around the eighth century.[3]

References

  1. ^ Hijri Dates in SQL Server 2000 from Microsoft[dead link]
  2. ^ Kriegel, Alex, and Boris M. Trukhnov. SQL Bible. Indianapolis, IN: Wiley, 2008. Page 383.
  3. ^ The "Kuwait algorithm" in Islamic-Western Calendar Converter by Robert van Gent