Login   Register  
PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Jonathan Discipulo
Name: Jonathan Discipulo is available for providing paid consulting. Contact Jonathan Discipulo .
Classes: 7 packages by
Country: Philippines Philippines
Age: 33
All time rank: 76412 in Philippines Philippines
Week rank: 679 Up11 in Philippines Philippines Up
Innovation award
Innovation award
Nominee: 2x

  Detailed description   Download Download .zip .tar.gz   Install with Composer 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 Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed 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: 657 users
All time rank: 4468
Week users: 2 users
Week rank: 708 Up
  Groups   Screenshots Screenshots   Rate classes User ratings  
  Applications   Related pages   Files Files  

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

  Files folder image Screenshots  
File Role Description
Accessible without login Image file screenshot.jpg Screen screenshot.jpg

  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.
Add link image 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

  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

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