PHP Classes

Digital Clock: Display a clock that updates time automatically

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,322 All time: 2,919 This week: 122Up
Version License PHP version Categories
digital-clock 1BSD License3.8HTML, PHP 5, Time and Date


This class can display a clock that updates the time automatically.

It generates HTML with JavaScript code inside a given div element that displays the current time.

The JavaScript code can update the time every second.

The container div element and the clock presentation style are configurable parameters.

Picture of Angelos Staboulis
Name: Angelos Staboulis <contact>
Classes: 2 packages by
Country: Greece Greece
Age: 46
All time rank: 138413 in Greece Greece
Week rank: 653 Up5 in Greece Greece Up

  Files folder image Files  
File Role Description
Plain text file DigitalClock.php Class PHP-DigitalClock
Accessible without login Plain text file Example.php Example Example-PHP Digital Clock

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,919
This week:122Up