Toggle navigation
momentjs.com
Home
Moment
project status
00 intro
01 recommendations
02 future
00 use it
00 intro
01 node js
02 browser
03 bower
04 require js
05 nuget
06 meteor
07 browserify
08 webpack
09 typescript
10 system js
11 other
12 troubleshooting
01 parsing
00 intro
01 now
02 string
03 string format
04 string formats
05 special formats
06 object
07 unix timestamp milliseconds
08 unix timestamp
09 date
10 array
11 asp net json date
12 moment clone
13 utc
14 parse zone
15 is valid
16 creation data
17 defaults
02 get set
00 intro
01 millisecond
02 second
03 minute
04 hour
05 date
06 day
07 weekday
08 iso weekday
09 day of year
10 week
11 iso week
12 month
13 quarter
14 year
15 week year
16 iso week year
17 weeks in year
18 iso weeks in year
19 get
20 set
21 max
22 min
03 manipulating
00 intro
01 add
02 subtract
03 start of
04 end of
05 max
06 min
07 local
08 utc
09 utc offset
10 timezone offset
04 displaying
00 intro
01 format
02 fromnow
03 from
04 tonow
05 to
06 calendar time
07 difference
08 unix timestamp milliseconds
09 unix timestamp
10 days in month
11 as javascript date
12 as array
13 as json
14 as iso string
15 as object
16 as string
17 inspect
05 query
00 intro
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
404
Page not found
×
Close
Search
From here you can search these documents. Enter your search terms below.
×
Close
Keyboard Shortcuts
Keys
Action
?
Open this help
←
Previous page
→
Next page
s
Search