Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 271 Bytes

08-days.md

File metadata and controls

12 lines (9 loc) · 271 Bytes
title version signature
Days
1.6.0
moment.duration().days(); moment.duration().asDays();

As with the other getters for durations, moment.duration().days() gets the days (0 - 30).

moment.duration().asDays() gets the length of the duration in days.