Humanize1.6.0+ Humanize1.6.0+ moment . duration (). humanize (); Sometimes, you want all the goodness of moment#from but you don't want to have to create two moments,...
Now1.0.0+ Now1.0.0+ moment (); moment ( undefined ); // From 2.14.0 onward, also supported moment ([]); moment ({}); To get the current date and time, just cal...
End of Time1.7.0+ End of Time1.7.0+ moment (). endOf ( String ); Mutates the original moment by setting it to the end of a unit of time. This is the same as moment#st...
Locale2.17.1+ Locale2.17.1+ moment . duration (). locale (); moment . duration (). locale ( String ); You can get or set the locale of a duration using locale(…) . T...
Difference1.0.0+ Month and year diffs Difference1.0.0+ moment (). diff ( Moment | String | Number | Date | Array ); moment (). diff ( Moment | String | Number | Date | Ar...
Time zone OffsetFrom 1.2.0, deprecated 2.9.0+ Time zone OffsetFrom 1.2.0, deprecated 2.9.0+ moment (). zone (); moment (). zone ( Number | String ); Note: This func...