March 2021
Beginner
404 pages
5h 47m
English
Working with times and dates can be tricky in programming languages. For this reason, most languages have some sort of built-in Date object that helps to make the process easier. JavaScript is no exception, and we’ll be taking a look at how that works in this chapter. We’ll be covering the following:
The UNIX epoch is an arbitrary date of January 1, 1970, which is used in programming as a reference point in time from which to measure dates. This allows dates to be expressed as an integer that represents the number of seconds since the epoch. As you can imagine, this produces some very large numbers, ...
Read now
Unlock full access