DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
Use the correct Date method to extract the year (four digits) out of a date object.
var d = new Date(); year = [A]; A = d.getFullYear();
Source by clickup.up.ac.za #
PREVIOUS
NEXT
Tagged:
#Use
#correct
#Date
#method
#extract
#year
#date
ADD COMMENT
Topic
COMMENT
Name
4+1 =
Submit