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

Recommend this page to a friend!

Picture of Jonathan Discipulo
Name: Jonathan Discipulo is available for providing paid consulting. Contact Jonathan Discipulo .
Classes: 7 packages by
Country: Philippines Philippines
Age: 38
All time rank: 76312 in Philippines Philippines
Week rank: 762 10 in Philippines Philippines
Innovation award
Innovation award
Nominee: 2x

  Detailed description   Download .zip .tar.gz   Install with Composer  
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.

  Classes of Jonathan Discipulo  >  World Time Class for PHP 5  >  Download .zip .tar.gz  >  Support forum (1)  >  Blog  >  Latest changes  
Name: World Time Class for PHP 5
Base name: world-time-php-5
Description: Retrieve the current time from a NTP server
Version: 1
PHP version: 5.0
License: GNU Lesser General Public License (LGPL)
All time users: 815 users
All time rank: 4176
Week users: 0 users
Week rank: 284
  Groups   Screenshots   User ratings  
  Applications   Related pages   Files  

Networking Networking protocols, clients and servers View top rated classes
PHP 5 Classes using PHP 5 specific features View top rated classes
Time and Date Time and date values, formats and conversion View top rated classes

File Role Description
screenshot.jpg Screen screenshot.jpg


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

  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

  User ratings  
Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.

If you know an application of this package, send a message to the author to add a link here.

  Related pages  
Classes for PHP
Classes for PHP

File Role Description Class
GNU-LGPL.txt Lic. License
index.php Example index.php

Install with Composer - Download all files: world-time-php-5.tar.gz
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

For more information send a message to info at phpclasses dot org.