JavaScript .getFullYear()
Published May 31, 2023Updated Jun 1, 2023
The .getFullYear() method returns a four digit year for the date according to local time.
Learn JavaScript on Codecademy
- Front-end engineers work closely with designers to make websites beautiful, functional, and fast.
- Includes 34 Courses
- With Professional Certification
- Beginner Friendly.115 hours
- Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.
- Beginner Friendly.15 hours