Learn JavaScript DATE objects in 8 minutes!

1 year ago
6

00:00:00 current date
00:00:52 datetime arguments
00:01:46 datetime strings
00:02:10 milliseconds since epoch
00:03:07 get methods
00:05:31 set methods
00:06:39 compare datetime
00:07:43 conclusion

// Date(year, month, day, hour, minute, second, ms)
const date = new Date();
console.log(date);

Loading comments...