converting_20islamic_20dates
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| converting_20islamic_20dates [2018/03/31 13:19] – external edit 127.0.0.1 | converting_20islamic_20dates [2024/01/05 00:22] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| =====Converting Islamic dates===== | =====Converting Islamic dates===== | ||
| - | //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 bb4w> | ||
| year% = 2015 : month% = 8 : day% = 14 | year% = 2015 : month% = 8 : day% = 14 | ||
| Line 38: | Line 40: | ||
| month% = st.wMonth.l& | month% = st.wMonth.l& | ||
| ENDPROC | ENDPROC | ||
| + | </ | ||
| + | |||
| 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. | ||
converting_20islamic_20dates.1522502351.txt.gz · Last modified: 2024/01/05 00:18 (external edit)