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 time using moment
var startDate = moment().subtract(1, 'days'); //one day before the current time
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#current
#time
#moment
ADD COMMENT
Topic
COMMENT
Name
1+3 =
Submit