momentjs.com
  • Home
  • Moment
    • project status
      • Project Status
      • Recommendations
      • The Future
    • 00 use it
      • Using Moment
      • Node.js
      • Browser
      • Bower
      • Require.js
      • NuGet
      • meteor
      • Browserify
      • Webpack
      • Typescript
      • System.js
      • Other
      • Troubleshooting
    • 01 parsing
      • Parse
      • Now
      • String
      • String + Format
      • String + Formats
      • Special Formats
      • Object
      • Unix Timestamp (milliseconds)
      • Unix Timestamp (seconds)
      • Date
      • Array
      • ASP.NET JSON Date
      • Moment Clone
      • UTC
      • parseZone
      • Validation
      • Creation Data
      • Defaults
    • 02 get set
      • Get + Set
      • Millisecond
      • Second
      • Minute
      • Hour
      • Date of Month
      • Day of Week
      • Day of Week (Locale Aware)
      • ISO Day of Week
      • Day of Year
      • Week of Year
      • Week of Year (ISO)
      • Month
      • Quarter
      • Year
      • Week Year
      • Week Year (ISO)
      • Weeks In Year
      • Weeks In Year (ISO)
      • Get
      • Set
      • Maximum
      • Minimum
    • 03 manipulating
      • Manipulate
      • Add
      • Subtract
      • Start of Time
      • End of Time
      • Maximum
      • Minimum
      • Local
      • UTC
      • UTC offset
      • Time zone Offset
    • 04 displaying
      • Display
      • Format
      • Time from now
      • Time from X
      • Time to now
      • Time to X
      • Calendar Time
      • Difference
      • Unix Timestamp (milliseconds)
      • Unix Timestamp (seconds)
      • Days in Month
      • As Javascript Date
      • As Array
      • As JSON
      • As ISO 8601 String
      • As Object
      • As String
      • Inspect
    • 05 query
      • Query
      • 01 is before
      • 02 is same
      • 03 is after
      • 04 is same or before
      • 05 is same or after
      • 06 is between
      • 07 is daylight saving time
      • 08 is dst shifted
      • 09 is leap year
      • 10 is a moment
      • 11 is a date
    • 06 i18n
      • 00 intro
      • 01 changing locale
      • 02 instance locale
      • 03 loading into nodejs
      • 04 loading into browser
      • 05 adding locale
      • 06 getting locale
      • 07 listing months weekdays
      • 08 locale data
      • 09 pseudo locale
    • 07 customization
      • 00 intro
      • 01 month names
      • 02 month abbreviations
      • 03 weekday names
      • 04 weekday abbreviations
      • 05 weekday min
      • 06 long date formats
      • 07 relative time
      • 08 am pm
      • 09 am pm parsing
      • 10 calendar
      • 11 calendar format
      • 12 ordinal
      • 13 relative time threshold
      • 14 relative time rounding
      • 15 now
      • 16 dow doy
      • 17 eras
      • 18 invalid date
    • 08 durations
      • 00 intro
      • 01 creating
      • 02 clone
      • 03 humanize
      • 04 milliseconds
      • 05 seconds
      • 06 minutes
      • 07 hours
      • 08 days
      • 09 weeks
      • 10 months
      • 11 years
      • 12 add
      • 13 subtract
      • 14 diffing
      • 15 as
      • 16 get
      • 17 as json
      • 18 is a duration
      • 19 as iso string
      • 20 locale
    • 09 utilities
      • 00 intro
      • 01 normalize units
      • 02 invalid
    • 10 plugins
      • 00 intro
      • 01 strftime
      • 02 msdate
      • 03 jdateformatparser
      • 04 range
      • 05 twix
      • 06 preciserange
      • 07 isocalendar
      • 08 jalaali
      • 09 hijri
      • 10 islamic civil
      • 11 recur
      • 12 twitter
      • 13 fquarter
      • 14 parseformat
      • 15 round
      • 16 transform
      • 17 taiwan
      • 18 duration format
      • 19 timer
      • 20 moment business
      • 21 shortformat
      • 22 german holiday
  • Moment timezone
    • 00 use it
      • 00 intro
      • 01 node js
      • 02 browser
      • 03 require js
      • 04 webpack
    • 01 using timezones
      • 00 intro
      • 01 parsing in zone
      • 02 parsing ambiguous inputs
      • 03 converting to zone
      • 04 formatting
      • 05 default timezone
      • 06 guessing user timezone
      • 07 getting zone names
      • 08 getting country zones
    • 02 zone object
      • 00 intro
      • 01 name
      • 02 abbr
      • 03 offset
      • 04 parse
    • 03 data formats
      • 00 intro
      • 01 unpacked format
      • 02 packed format
      • 03 link format
    • 04 data loading
      • 00 intro
      • 01 adding a zone
      • 02 adding a link
      • 03 loading a data bundle
      • 04 checking if a zone exists
      • 05 getting zone names
    • 05 data utilities
      • 00 intro
      • 01 pack
      • 02 unpack
      • 03 pack base 60
      • 04 unpack base 60
      • 05 create links
      • 06 filter years
      • 07 filter link pack
  • Search
  • Previous
  • Next

Documentation built with MkDocs.

Search

From here you can search these documents. Enter your search terms below.

Keyboard Shortcuts

Keys Action
? Open this help
← Previous page
→ Next page
s Search