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 Saturday September 11, 2010
Fajr:
4:03
Sunrise:
5:31
Zuhr:
11:49
Asr:
15:23
Maghrib:
18:07
Isha:
19:34
Qibla Direction
(from the north direction):
-21.998694670557
|
|