Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get the year in javascript

new Date().getFullYear(); // This will get you the current year
 
PREVIOUS NEXT
Tagged: #year #javascript
ADD COMMENT
Topic
Name
3+8 =