Please enable JavaScript to view this site.

 

int = EncodeMuslimDate(nMuslimYear,nMuslimMonth,nMuslimDay)

 

This macro function calculates a western date from a set of Muslim calendar year, month and day literals or expressions.

 

The values used for Muslim month numbers are listed here.

nDateStartRamadan = EncodeMuslimDate(1440,9,1)

Note that the above will be calculated using the Muslim calendar specified in the current script's muslim data property. It is therefore possible that the result of this function be different from one script to the next, if these 2 scripts use different Muslim calendars.

 

See also: iDayOf, iMonthOf, iYearOf.

 


Topic 138500, last updated on 01-Aug-2020