![](https://secure.gravatar.com/avatar/a4358949522f2efc1bab8ed68385b00c.jpg?s=120&d=mm&r=g)
On Fri, 20 Jun 2008 20:03:10 -0600, Idris Samawi Hamid
On Fri, 20 Jun 2008 19:11:57 -0600, Khaled Hosny
wrote: Not to mention Saudi Arabia, which uses the lunar months...
But I think this another issue of its own, since SA uses Hijri not Georgian calender, do we have support for lunar based hijri calender?
Good point. I'll try to find a conversion algorithm...
http://www.codeproject.com/KB/datetime/hijrigregorianclass.aspx Perhaps this can be translated to lua? Then something like: \currentdate[hijri][month,year] will translate the gregorian date into the hijri one. However, we will also need an option to increment the result of the conversion by up to two days in either direction, since there is always a margin of error of +/- one day in the results (+/- two days rarely): \currentdate[hijri,-1][month,year] will translate the gregorian to hijri and subtract one day. More info: http://www.phys.uu.nl/~vgent/islam/islam_tabcal.htm Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523