islamic_20calendar_20conversion_20_28lbb_29
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| islamic_20calendar_20conversion_20_28lbb_29 [2018/03/31 13:19] – external edit 127.0.0.1 | islamic_20calendar_20conversion_20_28lbb_29 [2024/01/05 00:22] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| //by Richard Russell, August 2015//\\ \\ The code below shows how to convert between Western (Gregorian) and Islamic (Hijri) dates; it requires Windows Vista or later:\\ \\ | //by Richard Russell, August 2015//\\ \\ The code below shows how to convert between Western (Gregorian) and Islamic (Hijri) dates; it requires Windows Vista or later:\\ \\ | ||
| + | <code lb> | ||
| CAL.HIJRI = 6 | CAL.HIJRI = 6 | ||
| global CAL.HIJRI | global CAL.HIJRI | ||
| Line 52: | Line 53: | ||
| day = SYSTEMTIME.wDay.struct | day = SYSTEMTIME.wDay.struct | ||
| end sub | end sub | ||
| + | </ | ||
| Note that, depending on the time of day and the location, there may be some ambiguity in the conversion so don't be surprised if these routines give a result which is a day or so different from that obtained from other calculators. | Note that, depending on the time of day and the location, there may be some ambiguity in the conversion so don't be surprised if these routines give a result which is a day or so different from that obtained from other calculators. | ||
islamic_20calendar_20conversion_20_28lbb_29.1522502365.txt.gz · Last modified: 2024/01/05 00:17 (external edit)