User Tools

Site Tools


islamic_20calendar_20conversion_20_28lbb_29

Differences

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

Link to this comparison view

islamic_20calendar_20conversion_20_28lbb_29 [2018/03/31 13:19]
127.0.0.1 external edit
islamic_20calendar_20conversion_20_28lbb_29 [2018/04/17 16:44]
tbest3112 Added syntax highlighting
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
 +</​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.
islamic_20calendar_20conversion_20_28lbb_29.txt ยท Last modified: 2018/04/17 16:44 by tbest3112