moment

node v10.22.1
version: master
endpointsharetweet
const moment = require("moment"); const dur1 = moment('2020-05-01T00:00:00').to(moment('2020-07-01T00:00:00')); console.log(dur1); // "in 2 months"
Loading…

no comments

    sign in to comment