Course contentsShow
JavaScript
Lesson 1614 of 2,72335. Standard Library and Built-insPro lesson

Date.UTC for Creating Dates in UTC

Use Date.UTC(year, month, ...) to get milliseconds for a UTC timestamp, avoiding local timezone interpretation.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.