Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 544 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 544 Bytes

countdown

Count down timer using javascript

Prerequisite

Add element tags with an ID's days, hours, minutes, seconds.

Example

<span id='days'> </span> : <span id='hours'> </span> : <span id='minutes'> </span> : <span id='seconds'> </span>

For Javascript

Call initializeClock function with date ended and current date.

Example :

var today = new Date(); var enddate = "August 25 2019 16:35:23";

initializeClock(endate, today);