Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 7: Advanced JavaScript Object Handling!

Instruction

Timezones

The Date object contains a whole number (Integer) and does not inherently know anything about timezones. As long as you don't specify timezones in any form, the Date object operates in your local timezone. However, sometimes it's necessary to consider timezones.

Example 1

// Create it in UTC: 27th of January, midnight
const date_1 = new Date(Date.UTC(2020, 00, 27, 0, 0, 0));
a...