Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

moment get timestamp

moment().unix() // you will get a unix timestamp

moment().valueOf() // you will get a full timestamp
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #moment #timestamp
ADD COMMENT
Topic
Name
6+7 =