|
|
| |
1. Differs from other sites |
|
Reply |
|
|
 mac | 2009-08-10 09:33:52 |
Salam aleikum!
The time that i get with your class differs slightly from other pages offering prayer times:
for example:
City: Baghdad
long: 44.422
lat: 33.325
GMT: +3
date: 2009-08-10
from guideways.com
Fajr: 3:44
Sunrise: 5:20
Dhuhr: 12:09
Asr: 15:51
Maghrib: 18:56
Isha: 20:26
salat.class.php:
Fajr: 3:33
Sunrise: 5:05
Zuhr: 11:51
Asr: 15:33
Maghrib: 18:38
Isha: 20:10
Do you have any ideas why it is like this?
|
| |
2. Re: Differs from other sites |
|
Reply |
|
|
 Khaled Al-Shamaa | 2009-08-10 11:31:25 - In reply to message 1 from mac |
Dear Mac,
I advice you to use the latest version of this library (in case you have server support PHP 5), you can check the following example:
http://ar-php.org/example-ArSalat-php-arabic.html
Calculation for coordinates you provides using new class generate following results:
Fajr: 3:38
Sunrise: 5:10
Zuhr: 11:56
Asr: 15:38
Maghrib: 18:43
Isha: 20:15
For more information:
http://ar-php.org/index-php-arabic.html
Best regards,
Khaled
|
|