DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
moment time from x
var a = moment([2007, 0, 28]); var b = moment([2007, 0, 29]); a.from(b) // "a day ago"
Source by momentjs.com #
PREVIOUS
NEXT
Tagged:
#moment
#time
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit