Real Weather Time
Class manual
Contents
Introduction
How do I use Real Weather Time Class?
version
1.0
ChangeLog
Introduction
Real Weather Time Class is
a powerful date time module designed for web programmers to handle the
standard time. This module is based on Hong Kong Observatory network time
clock. You can use this class for your program as a standard time machine
module. Report the realiable time record.
With the releases of later
versions, which is only accessible in the presence of a paid-for Alangor
Program Studio publishing license.
How
do I use Real Weather Time Class?
Version
1.0
Show current version (using
the querystring in the URL)
|
http://www.yourdomain.com/IncludeClassFile.php?version
|
Example
|
<?
// include the class file
include_once "weathertime.class.php";
// create the class object and predefine the function
$time=new weathertime_class;
// standard weather year
$time->year;
// standard weather month
$time->month;
// standard weather day
$time->day;
// standard weather hour
$time->hour;
// standard weather minute
$time->minute;
// standard weather second
$time->second;
?>
|
ChangeLog
Version 1.0 (2006-04-29)
- Added year parameter.
- Added month parameter.
- Added day parameter.
- Added hour parameter.
- Added minute parameter.
- Added second parameter.
|