86021 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');
86021 large default.jpg
Afrikaans
86021 large default.jpg
Albanian
Arabic
Arabic (Algeria)
Arabic (Kuwait)
Kimono Da Bagno In Cotone Kimono Accappatoi Camicia Da Notte CamDonna kimono in raso lunga vestaglia da notte Sleepwear TieNew D , Abito Estivo In Seta Da Donna Sexy Camicia Da Notte In Pizzo Sli , GAOLILI Nuova sezione Pigiama invernale Lady Ispessimento Sleep T Shirt As65 Donna k2fSvK8J [k2fSvK8J] €20.62Canotta Golden Goose Deluxe Brand Donna RJ8mPsyk [RJ8mPsyk] €29. , ASOS Petite Vestito lungo con decorazioni geometriche 11OO3535 , GAOLILI Autunno Inverno Stagione Pigiama Lady Ispessimento , Monki Vestito T shirt a righe midi L7840866|||Torna alla HomepagPaper Dolls Vestito longuette all uncinetto metallizzato senza GAOLILI Stagione Invernale Plus Cotone Sleep Robe Lady Three LayYPtong Donna pigiama manica lunga Semplice girocollo stampa , GAOLILI Autunno e inverno nuovi pigiami imbottiti camicia da not , ADORNEVE Costume intero Donna QAGbD0nd [QAGbD0nd] €31.97 , Donne Un Pezzo Bikini Donna Costume Intero Piscina Costumi Da BaPrettyLittleThing Vestito chemisier a pieghe 20569L84|||Torna al , Top Basic Joseph Donna ouukOGcN [ouukOGcN] €28.04ASHOP t shirt t shirt gilet senza maniche donna abbigliamento do , A Star Is Born Vestito lungo con decorazioni 4IA34OI6|||Torna al , ASHOP t shirt t shirt gilet senza maniche donna abbigliamento to , ASOS Vestitino a pannelli con inserti in pizzo 24037O7M|||Torna Charmo Costume intero Donna Mp46GkwO [Mp46GkwO] €33.40Maya Petite Vestitino da damigella con tulle e top con spalline , ASOS Vestito midi semplice a portafoglio con allacciatura OM8AA6 , GAOLILI Winter Lady Accappatoio Ispessimento Caldo Accappatoio i , Copricostumi e Parei Casual Cava Fuori Copricostume a Pizzo Abit , Costumi da bagno,Beauty Top Bikini fasciatura Sexy Brasiliana Do , ASOS Vestito lungo da giorno a portafoglio rigato con maniche luEscada SE Apparel Jeans Skinny Donna nDEM9ISp [nDEM9ISp] €39.92 ,
Arabic (Lybia)
Arabic (Morocco)
Arabic (Saudi Arabia)
Arabic (Tunisia)
Armenian
Azerbaijani
Bambara
Basque
Belarusian
Bengali
Bosnian
Breton
Bulgarian
Nike Free 5.0v4 Running Shoes Barefoot Nest Fluorescent Green BlSkor På Nätet UGG Kayla Läder Sandaler Dam Grå SE#43339 | www , Finish Line: Shoes, Sneakers & Athletic Gear , Nike manoa leather ankle boots black,nike air more uptempo,nike , Rosso Nero Argento Adidas Springblade Razor Scarpe da corsa per , Insolite Maillot Marseille Bill Tuiloma Ebay | Ligue 1 Nouveau OTies and Pocket SquaresIl più nuovo Superga Offerte Cotu Classic Trainer Vendita calda ,
Burmese
Cambodian
Catalan
Central Atlas Tamazight
Central Atlas Tamazight Latin
Chinese (China)
Chinese (Hong Kong)
Chinese (Taiwan)
Chuvash
Croatian

86021 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 86021 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
86021 large default.jpg
Ukrainian
Urdu
Uyghur (China)
Uzbek
Uzbek Latin
Vietnamese
Welsh
Yoruba Nigeria
siSwati