User Tools

Site Tools


converting_20islamic_20dates

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

converting_20islamic_20dates [2018/03/31 13:19]
127.0.0.1 external edit
converting_20islamic_20dates [2018/04/14 20:55] (current)
richardrussell Added syntax highlighting
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&​ : day% = st.wDay.l&​         month% = st.wMonth.l&​ : day% = st.wDay.l&​
         ENDPROC         ENDPROC
 +</​code>​
 +
 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.txt · Last modified: 2018/04/14 20:55 by richardrussell