PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Dannel   PHP Day Light Calculator   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Day Light Calculator
Calculate the day hours for a given location
Author: By
Last change:
Date: 3 years ago
Size: 527 bytes


Class file image Download
include 'php_light_time_calculator.php';
$obj=new LightnShade;
'Current time: '.$a['now']?> <br>
<?='Sunrise today: '.$a['sunrise']?> <br>
<?='Sunset today: '.$a['sunset']?> <br>
<?='Hours of Light: '.$a['lightHours']?> <br>
<?='Remaining Hours of Light : '.$a['lightHoursLeft']?> <br>
<?='Hours of Dark: '.$a['darkHours']?> <br>
<?='Remaining Hours of Dark : '.$a['darkHoursLeft']?> <br>
<?='Star Above our heads: <br>'.$a['Star']?> <br>