Run ❯
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Dates
The getFullYear() Method
Return the full year of a date object: