kata
.studio
Login
JS Reference
Kata
Cards
New Card
Lists
Open main menu
Library
Kata description
Search
easy
Date.prototype.getYear() Kata
Write a function that takes a date and returns the year in the hh:mm:ss format.