I guess you can get very close with UNIX time, a sine function and the right floating point factor, but if your calc puts Ramadan, Lent, Rosh Hashanah a month off because it varies by observation longitude and such and occasionally comes very close to falling either way . . . .
---------- Post updated at 11:29 AM ---------- Previous update was at 11:17 AM ----------
Lunar calendar - Wikipedia, the free encyclopedia