Duration .toMilliseconds()The whole length in milliseconds, with months and years needing the anchordates-duration-tomilliseconds16logDatesindex.jsDuration["dates","duration","tomilliseconds"].toMilliseconds()Example
Categories