Challenge 1 of 4
UTC year
Instructions
Write `utcYear(date)` that returns the UTC full year.
Editor
IntelliSense on
// Write your code below
Module 1 of 2
Create dates and read year, month, day, and weekday in UTC.
JavaScript Dates · 0/4 completed · scroll down for every challenge
Challenge 1 of 4
Write `utcYear(date)` that returns the UTC full year.
Editor
IntelliSense on
// Write your code below
Challenge 2 of 4 · UTC month number
Challenge 2 of 4
Write `utcMonth(date)` that returns 1–12 (not 0–11).
Editor
IntelliSense on
// Write your code below
Challenge 3 of 4 · UTC day of month
Challenge 3 of 4
Write `utcDay(date)` that returns the UTC calendar day.
Editor
IntelliSense on
// Write your code below
Challenge 4 of 4 · ISO date string
Challenge 4 of 4
Write `isoDate(date)` that returns `YYYY-MM-DD` in UTC.
Editor
IntelliSense on
// Write your code below
Next module