JavaScript Clocks: Fundamentals
The first thing we need when creating a clock with JavaScript is the Date
object. At its core, the Date object is the number of milliseconds since the Unix epoch, January 1, 1970 at 12 AM UTC. Because this is an unwieldy number to use JavaScript provides a number of useful methods with the Date object. Continue reading JavaScript Clocks: Fundamentals