Skip to content

cccaaannn/digitalClock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

digitalClock

Single line digital clock for adding websites.


GitHub top language GitHub license

Live example


Adding the clock with single line (24 hour format).

<script src="https://cccaaannn.github.io/digitalClock/src/js/cccaaannnTimeOneLine.js"></script>

12 hour format in one line.

<script src="https://cccaaannn.github.io/digitalClock/src/js/cccaaannnTimeOneLine.js" args={"is24":"false"}></script>

To add clock to custom divs, use 12hour or 24hour classes with this script.

<script src="https://cccaaannn.github.io/digitalClock/src/js/cccaaannnTimeCustom.js"></script>

About

single line digital clock for adding websites.

Topics

Resources

License

Stars

Watchers

Forks