javascript - How to convert Date (long type) to the interval (example: 1 year 6 months)? -


Here is my question, I will be long for my date (10024506364) 1 year 3 months ( I want to convert for a long time with round). Is it possible to do this with Date.js ? I can not find any examples how to solve this task.

I will see Pillage.

  var day = moment (1318781876406);   

Very easy to use and has a ton of other features in it

Comments