Related Class Documentation
<?php
date_default_timezone_set('UTC');
include('Arabic.php');
$Ar = new Arabic('Salat');
$Ar->setLocation(33.513,36.292,2);
$Ar->setDate(date('j'),
date('n'),
date('Y'));
$times = $Ar->getPrayTime();
echo '<b>Damascus, Syria</b><br />';
echo date('l F j, Y').'<br /><br />';
echo "<b class=hilight>Fajr:</b>
{$times[0]}<br />
<b class=hilight>Sunrise:</b>
{$times[1]}<br />
<b class=hilight>Zuhr:</b>
{$times[2]}<br />
<b class=hilight>Asr:</b>
{$times[3]}<br />
<b class=hilight>Maghrib:</b>
{$times[4]}<br />
<b class=hilight>Isha:</b>
{$times[5]}<br /><br />";
$direction = $Ar->getQibla();
echo "<b class=hilight>Qibla Direction
</b>(from the north direction):
<br />$direction<br />";
?>
|
|
Damascus, Syria Thursday September 9, 2010
Fajr:
4:00
Sunrise:
5:28
Zuhr:
11:48
Asr:
15:23
Maghrib:
18:08
Isha:
19:36
Qibla Direction
(from the north direction):
-21.998694670557
|
|