Open snoopyjc opened 3 years ago
Would be good if you went back to 1900-01-01 to match Excel
Root cause: https://webspace.science.uu.nl/~gent0113/islam/ummalqura.htm
"The following Western-Islamic calendar converter is based on the Umm al-Qura calendar and is valid from 1356 AH (14 March 1937 CE) to 1500 AH (16 November 2077 CE). Outside this interval, the converter will give erroneous results."
Passing a date of 1937-03-13 or earlier gives a negative number for the result day.
Bad:
Good: