Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

current year javascript

var currentYear= new Date().getFullYear(); 

// should use moment library
https://momentjs.com/
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #current #year #javascript
ADD COMMENT
Topic
Name
6+7 =