DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript current date
var
today
=
new
Date
(
)
;
var
date
=
today
.
getFullYear
(
)
+
'-'
+
(
today
.
getMonth
(
)
+
1
)
+
'-'
+
today
.
getDate
(
)
;
Source by tecadmin.net #
PREVIOUS
NEXT
Tagged:
#javascript
#current
#date
ADD COMMENT
Topic
COMMENT
Name
7+4 =
Submit