Related Class Documentation
<?php
date_default_timezone_set('UTC');
require('I18N/Arabic.php');
$Ar = new I18N_Arabic('Salat');
$Ar->setLocation(33.52, 36.31, 3, 691);
$Ar->setDate(date('j'),
date('n'),
date('Y'));
$times = $Ar->getPrayTime2();
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 Monday February 6, 2012
Fajr:
3:44
Sunrise:
5:21
Zuhr:
12:33
Asr:
16:17
Maghrib:
19:47
Isha:
21:21
Qibla Direction
(from the north direction):
164.70473621919
|
|