F
F
fullj02015-10-29 22:21:06
JavaScript
fullj0, 2015-10-29 22:21:06

Can moment.js act as a time converter?

Can moment.js act as a time converter? Those. I would like to pass in the number of milliseconds and get the equivalent value in days or months, plus the name of the value in the appropriate declination. I wanted to get something like this: moment(8298075758).xxxx(days) // 96 days
moment(7862400454).xxxx(days) // 91 days

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2015-10-29
@fullj0

Google said - stackoverflow.com/questions/22938300/convert-milli...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question