86090 large default.jpg

Moment.js 2.22.1 Parse, validate, manipulate, and display dates and times in JavaScript.
Download moment.js moment.min.js 16.4k moment-with-locales.js moment-with-locales.min.js 66.3k
Install
npm install moment --save   # npm
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)
Format Dates
moment().format('MMMM Do YYYY, h:mm:ss a');
moment().format('dddd');
moment().format("MMM Do YY");
moment().format('YYYY [escaped] YYYY');
moment().format();
Relative Time
moment("20111031", "YYYYMMDD").fromNow();
moment("20120620", "YYYYMMDD").fromNow();
moment().startOf('day').fromNow();
moment().endOf('day').fromNow();
moment().startOf('hour').fromNow();
Calendar Time
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();
Multiple Locale Support
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');
86090 large default.jpg
Afrikaans
86090 large default.jpg
Albanian
Arabic
Arabic (Algeria)
Arabic (Kuwait)
CHAOS, Berretto invernale Donna Ditto, Viola (Iris), Taglia unic , Cowboy Belt 359016 W105 Nude: Amazon.it: AbbigliamentoACVIP Donna Cappello Colore Puro con Lettera a Cilindro di Filo , Yosemite , Borsa Messenger , Purple (Viola) 41595: .it: ValigeriRuiyuhongE Guanti Donna beige avorio Taglia unica: AbbigliamentoLiebeskind Berlin Leonie6 Vintag, Portafogli Donna, Beige (StoneVICUNA POLO , Ventiquattrore nero Black: .it: Valigeria etJpuY5qRoncato portafogli verticale c/patta extra nero: .it: Valigeria Portafoglio le Pandorine 2.0 velvet panic NEW COLLECTION AI 2017CINTURA BELT DONNA ALTA WOMAN ECO PELLE FIBBIA ARGENTO GRIGIO CO , Desigual Mone Zip All Around Boheme Verde Aturquesado: .it , JACK NAVY cuffia SNOWBOARD SCI POLARFLEECE INTERNO PILE montagna , Reebok Motion U Gymsack Zaino, colore Nero, taglia unica: .it , Portafoglio uomo PIERRE CARDIN nero in pelle con portamonete e pXinRui Guanti Donna Gold Taglia unica: Abbigliamento B077M5JZLT , AiSi Cappello alla pescatora Donna cachi Taglia unica T Shirtshock Zaino Zainetto Budget Gymsac TR0093 May The Force B , OAKLEY ENDURO 20L 2.0 PACK BLACKOUT ZAINO SS 2017: .it: ValigeriPORTAFOGLIO ALVIERO MARTINI GEO CLASSIC LOVE CITY ZIP AROUND , Viking Guanti Signore Con Funzione Touchphone Veloce E TraspiranSet uomo PIERRE CARDIN nero pelle parure portafoglio + cintura 1 , Sexyville , Borsa Messenger Kaki 23 * 16cm / 9.1 * 6.3 : .it PORTAFOGLIO DONNA POLLINI ALL AROUND ZIP TAPIRO NERO TE9001 216: , Aonijie Zaino con sistema di idratazione, da 5 litri, per Cinture da donna online | La collezione su ZalandoMywalit , Portafogli multicolore Safari Multi medium: .it: ValigTann s Zaino Scuola, Rose (rosa) 41113.0: .it: Valigeria wTiCihDa donna in rete e piuma fascinator LSH00148: Abbigliamento B01N , Carvela CarvelaAlis2 Zip Wallet Portafoglio Donna, rosa (Pink ,
Arabic (Lybia)
Arabic (Morocco)
Arabic (Saudi Arabia)
Arabic (Tunisia)
Armenian
Azerbaijani
Bambara
Basque
Belarusian
Bengali
Bosnian
Breton
Bulgarian
Reebok Work Sublite Steel Toe Work Shoes Mens | Rogan s ShoesASICS Onitsuka Tiger,Asics Onitsuka Tiger Mexico 66 Hommes D Pin by William Chin on Sneakers | Pinterest , Venta barata VIVES LEATHER 6602 Blucher Calzado de mujer , du grand magasin Originals FEMMES Chaussure Gazelle Blue/Blue/GoVans Authentic Checker Skor Dam Röd Svart Rea Sverige283,Vans 28KENZO Snapback Hat #06 [ing9.10 034] : Cheap Snapbacks Free , Nike Air Max Tavas Big Kids Shoe | Nike Air Max | Pinterest | ,
Burmese
Cambodian
Catalan
Central Atlas Tamazight
Central Atlas Tamazight Latin
Chinese (China)
Chinese (Hong Kong)
Chinese (Taiwan)
Chuvash
Croatian

86090 large default.jpg

Czech
Danish
Dutch
Dutch (Belgium)
English (Australia)
English (Canada)
English (Ireland)
English (Israel)
English (New Zealand)
English (United Kingdom)
English (United States)
Esperanto
Estonian 86090 large default.jpg
Faroese
Finnish
French
French (Canada) nike
French (Switzerland)
Frisian
Galician
Georgian
German
German (Austria)
German (Switzerland)
Greek
Gujarati
Hebrew
Hindi
Hungarian
Icelandic
Indonesian
Italian
Japanese
Javanese
Kannada
Kazakh
Klingon
Konkani Latin script
Korean
Kyrgyz
Lao
Latvian
Lithuanian
Luxembourgish
Macedonian
Malay
Malay
Malayalam
Maldivian
Maltese (Malta)
Maori
Marathi
Mongolian
Montenegrin
Nepalese
Northern Sami
Norwegian Bokmål
Nynorsk
Persian
Polish
Portuguese
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
86090 large default.jpg
Ukrainian
Urdu
Uyghur (China)
Uzbek
Uzbek Latin
Vietnamese
Welsh
Yoruba Nigeria
siSwati