Skip to content
A nice clock in javascript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img
LICENSE
README.md
example-multiple.html
example-single.html
exampleimage.png
nicejsclock.js

README.md

NiceJSClock

A nice analog clock in JavaScript.

Example

Usage example

Example with current time:

var clock = new niceJSClock();
document.querySelector('#clock').appendChild(clock.domElement);

Example with different time zone:

var plusOneHour = Date.now() + 1000*60*60;
var clock2 = new niceJSClock(plusOneHour);
document.querySelector('#anotherClock').appendChild(clock2.domElement);
You can’t perform that action at this time.