PHP Classes

Clock: Draw a graphical clock with the server local time

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 2,604 All time: 1,460 This week: 207Up
Version License Categories
clock 1.0Public DomainTime and Date, Graphics
Description Author

Sometimes it is nice to see the server local time of the site we are accessing. It is not possible to do this with Javascript because it uses the time of the computer of the user browser.

This class generates a PNG image with a simple clock displaying the time of the server.

Optionally, the clock may display a legend near the clock, like in the clocks presented in old news television programs.

Picture of Roberto Martinez
Name: Roberto Martinez <contact>
Classes: 4 packages by
Country: Mexico Mexico
Age: 54
All time rank: 2843 in Mexico Mexico
Week rank: 563 Down9 in Mexico Mexico Down

  • clock.png
  Files folder image Files  
File Role Description
Plain text file clock.class.php Class Clock class file
Plain text file clock.php Example Sample

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,460
This week:207Up
 User Ratings  
 All time