Moment.js 2.27.0
Parse, validate, manipulate,
and display dates and times in JavaScript.

小语加速器官网-快连加速器app

小语加速器官网-快连加速器app

小语加速器官网-快连加速器app

小语加速器官网-快连加速器app

moment.js moment.min.js 18.2k moment-with-locales.js moment-with-locales.min.js 72.5k

小语加速器官网-快连加速器app

npm install moment --save   浏览外网的免费加速器
yarn add moment             # Yarn
Install-Package Moment.js   # NuGet
spm install moment --save   # spm
meteor add momentjs:moment  # meteor
bower install moment --save # bower (deprecated)

小语加速器官网-快连加速器app

moment().format('MMMM Do YYYY, h:mm:ss a');
moment().format('dddd');
moment().format("MMM Do YY");
moment().format('YYYY [escaped] YYYY');
moment().format();

小语加速器官网-快连加速器app

moment("20111031", "YYYYMMDD").fromNow();
moment("20120620", "YYYYMMDD").fromNow();
moment().startOf('day').fromNow();
moment().endOf('day').fromNow();
moment().startOf('hour').fromNow();

小语加速器官网-快连加速器app

moment().subtract(10, 'days').calendar();
moment().subtract(6, 'days').calendar();
moment().subtract(3, 'days').calendar();
moment().subtract(1, 'days').calendar();
moment().calendar();
moment().add(1, 'days').calendar();
moment().add(3, 'days').calendar();
moment().add(10, 'days').calendar();

小语加速器官网-快连加速器app

moment.locale();
moment().format('LT');
moment().format('LTS');
moment().format('L');
moment().format('l');
moment().format('LL');
moment().format('ll');
moment().format('LLL');
moment().format('lll');
moment().format('LLLL');
moment().format('llll');
Afrikaans
Albanian
Arabic
Arabic (Algeria)
Arabic (Kuwait)
能上google免费加速器
Arabic (Morocco)
Arabic (Saudi Arabia)
Arabic (Tunisia)
Armenian
Azerbaijani
Bambara
Basque
Belarusian
Bengali
Bosnian
Breton
Bulgarian
Burmese
Cambodian
Catalan
Central Atlas Tamazight
Central Atlas Tamazight Latin
免费上谷歌的加速器
外国网页免费加速器
Chinese (Macau)
Chinese (Taiwan)
Chuvash
免费上谷歌的加速器
Czech
Danish
Dutch
Dutch (Belgium)
English (Australia)
English (Canada)
English (India)
English (Ireland)
免费上谷歌的加速器
English (New Zealand)
能上google免费加速器
English (United Kingdom)
外国网页免费加速器
Esperanto
Estonian
Faroese
Filipino
免费国外网站加速器安卓
French
French (Canada)
French (Switzerland)
国外网站加速器安卓版
Galician
Georgian
German
German (Austria)
German (Switzerland)
Greek
Gujarati
Hebrew
Hindi
Hungarian
国外网站加速器安卓版
免费上谷歌的加速器
Irish or Irish Gaelic
国外网站加速器安卓版
Italian (Switzerland)
外国网页免费加速器
Javanese
Kannada
Kazakh
浏览外网的免费加速器
Konkani Devanagari script
Konkani Latin script
Korean
Kurdish
Kyrgyz
Lao
免费国外网站加速器安卓
Lithuanian
Luxembourgish
浏览外网的免费加速器
Malay
Malay
Malayalam
Maldivian
Maltese (Malta)
国外网站加速器安卓版
Marathi
Mongolian
Montenegrin
Nepalese
Northern Sami
外国网页免费加速器
能上google免费加速器
Occitan, lengadocian dialecte
免费上谷歌的加速器
Polish
海外加速器永久免费版
Portuguese (Brazil)
Pseudo
Punjabi (India)
Romanian
Russian
Scottish Gaelic
Serbian
Serbian Cyrillic
Sindhi
Sinhalese
Slovak
Slovenian
Spanish
Spanish (Dominican Republic)
Spanish (United States)
Swahili
Swedish
Tagalog (Philippines)
Tajik
Talossan
Tamil
Telugu
Tetun Dili (East Timor)
Thai
Tibetan
Turkish
免费上谷歌的加速器
Ukrainian
Urdu
Uyghur (China)
免费海外网站加速器
Uzbek Latin
Vietnamese
Welsh
Yoruba Nigeria
siSwati