waktu lalu format reactjs

console.log(moment("2018-09-04T18:30:00.000Z").fromNow())
Witty Weevil