PHP Classes

World Time Class for PHP 5: Retrieve the current time from a NTP server

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 845 This week: 1All time: 4,113 This week: 560Up
Version License PHP version Categories
world-time-php-5 1GNU Lesser Genera...5.0Networking, PHP 5, Time and Date
Description 

Author

This class can retrieve the current time from a NTP server.

It connects to a NTP (Network Time Protocol) server and retrieves the current time.

The class may try different servers from an internal list until one provides a response.

The class returns the current time as an integer epoch value.

Innovation Award
PHP Programming Innovation award nominee
October 2011
Number 2


Prize: One copy of the Zend Studio
NTP is a protocol for retrieving the current time from a time server machine.

It is used frequently to synchronize the time between machines so they all are set to a more accurate value of the current time.

This class can access a NTP server and retrieve the current time for use of PHP applications.

Manuel Lemos
Picture of Jonathan Discipulo
  Performance   Level  
Name: Jonathan Discipulo is available for providing paid consulting. Contact Jonathan Discipulo .
Classes: 7 packages by
Country: Philippines Philippines
Age: 42
All time rank: 75512 in Philippines Philippines
Week rank: 411 Up4 in Philippines Philippines Up
Innovation award
Innovation award
Nominee: 2x

Recommendations

What is the best PHP check system date class?
Check system date if is correct

Screenshots  
  • screenshot.jpg
  Files folder image Files  
File Role Description
Plain text file class.world.time.php Class class.world.time.php
Accessible without login Plain text file GNU-LGPL.txt Lic. License
Accessible without login Plain text file index.php Example index.php

 Version Control Unique User Downloads Download Rankings  
 0%
Total:845
This week:1
All time:4,113
This week:560Up
User Comments (1)
fine!
12 years ago (Abdullah Ibna Jafar)
67%StarStarStarStar