moment.duration().years(); moment.duration().asYears();
As with the other getters for durations, moment.duration().years()
gets the years.
moment.duration().asYears()
gets the length of the duration in years.
moment.duration().years(); moment.duration().asYears();
As with the other getters for durations, moment.duration().years()
gets the years.
moment.duration().asYears()
gets the length of the duration in years.
From here you can search these documents. Enter your search terms below.
Keys | Action |
---|---|
? | Open this help |
← | Previous page |
→ | Next page |
s | Search |