The data maybe load to database like MySQL, prepare earlier by manual
calculation. This isonly my assumption.
You may love this article.
http://www.directionsmag.com/article.php?article_id=2956
Using Google MAPS Api or any map api to calculate prayer time. You may
not using it, but formula for calculation is discuss in the article.
4. Prayer times equations are calculated based on Astronomical
Algorithms by Jean Meeus.
For example, to calculate the Fajr prayer time, we use the following
equation:
TF = ACOS ((SIN(-18)-SIN(ASIN(SIN(23.439-0.0000004*D)*SIN(L +1.915*SIN
(M)+0.02*SIN(2*M)))*SIN(Lat))/(COS(ASIN(SIN(23.439-0.0000004*D)
*SIN(L+1.915*SIN(M)+0.02*SIN(2*M)))*COS(Lat)))
Where,
D = ((367*Y)-(INT((7/4)*(Y+INT((M+9)/12))))+INT(275*(M/9))+d-730531.5)
M = 357.528+0.9856003*D
On 3 Jan, 23:08, Hasanuddin Abu Bakar <bizkut...@gmail.com> wrote:
> Anyone got contact with e-solat developers athttp://www.e-solat.gov.my/MainWS.php?
> I like to ask them for PHP API, if any. I can get it done with php-curl but
> it's better to have an official API for it. I tried to email them but don't
> get any reply, yet.
>
> Hasanuddin Abu Bakar
> -------------------------------
> Ubuntu embedded developer/testerhttps://wiki.ubuntu.com/bizkut
>
> Get FireGPG for your Firefox!http://getfiregpg.org
>
> PGP Public Keyhttp://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xC5A1B119...