DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to get current year in nodejs
const todaysDate = new Date() const currentYear = todaysDate.getFullYear() // 2020
Source by coderrocketfuel.com #
PREVIOUS
NEXT
Tagged:
#current
#year
#nodejs
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit