Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get current year in javascript

new Date().getFullYear()
// returns the current year
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #current #year #javascript
ADD COMMENT
Topic
Name
6+3 =