W3C
school
文档首页
HTML
CSS
Javascript
Python
jQuery
NodeJS
PHP
Java
MySQL
Express
More »
开关
Moment 官方文档
Guides: Warnings and Errors
Add/Subtract
Define Locale Override
JS Date Construction
Min/Max
Parent Locale Undefined
Zone
Guides: Introductory Concepts
Date Math vs Time Math
Internal Properties
JavaScript Date
Mutability
Time Zone vs Offset
Guides: Parsing
Forgiving Mode
Known Date Formats
Local vs UTC vs Offset
Multiple Formats
Strict Mode
Guides
Guides
Customize
Locale#calendar
Locale#longDateFormat
Locale#meridiem
Locale#meridiemParse
Locale#months
Locale#monthsShort
Locale#ordinal
Locale#relativeTime
Locale#weekdays
Locale#weekdaysMin
Locale#weekdaysShort
moment.calendarFormat()
moment.now
moment.relativeTimeRounding()
moment.relativeTimeThreshold()
Manipulate
moment#add()
moment#endOf()
moment#local()
moment#max()
moment#min()
moment#startOf()
moment#subtract()
moment#utc()
moment#utcOffset()
moment#zone()
Display
moment#calendar()
moment#daysInMonth()
moment#diff()
moment#format()
moment#from()
moment#fromNow()
moment#inspect()
moment#to()
moment#toArray()
moment#toDate()
moment#toISOString()
moment#toJSON()
moment#toNow()
moment#toObject()
moment#toString()
moment#unix()
moment#valueOf()
Parse
moment#creationData()
moment#isValid()
moment.parseZone()
moment.unix()
moment.utc()
Parse: Array
Parse: ASP.NET JSON Date
Parse: Date
Parse: Defaults
Parse: Moment Clone
Parse: Now
Parse: Object
Parse: Special Formats
Parse: String
Parse: String + Format
Parse: String + Formats
Parse: Unix Timestamp
Get + Set
moment#date()
moment#day()
moment#dayOfYear()
moment#get()
moment#hour()
moment#isoWeek()
moment#isoWeekday()
moment#isoWeeksInYear()
moment#isoWeekYear()
moment#millisecond()
moment#minute()
moment#month()
moment#quarter()
moment#second()
moment#set()
moment#week()
moment#weekday()
moment#weeksInYear()
moment#weekYear()
moment#year()
moment.max()
moment.min()
Query
moment#isAfter()
moment#isBefore()
moment#isBetween()
moment#isDST()
moment#isDSTShifted()
moment#isLeapYear()
moment#isSame()
moment#isSameOrAfter()
moment#isSameOrBefore()
moment.isDate()
moment.isMoment()
i18n
moment#locale()
moment.locale()
moment.locale()
moment.localeData()
moment.months()
Durations
moment.duration#add()
moment.duration#as()
moment.duration#days()
moment.duration#get()
moment.duration#hours()
moment.duration#humanize()
moment.duration#milliseconds()
moment.duration#minutes()
moment.duration#months()
moment.duration#seconds()
moment.duration#subtract()
moment.duration#toJSON()
moment.duration#weeks()
moment.duration#years()
moment.duration()
moment.isDuration()
Utilities
moment.invalid()
moment.normalizeUnits()
Index
index