3c6927ff480b010788976b85145be3fb.image.152x200.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');
3c6927ff480b010788976b85145be3fb.image.152x200.jpg
Afrikaans
3c6927ff480b010788976b85145be3fb.image.152x200.jpg
Albanian
Arabic
Arabic (Algeria)
Arabic (Kuwait)
Rosie the Riveter Denim Dungaree Jumpsuit , Dames Ltb Mika Boyfriend Jeans Wolf Grijze Undamage Wash FXZ2700 , Denim Irea Denim Bleach Desigual Trendy Fashion 15027580 , Maje Jumpsuits • Gratis bezorging • de Bijenkorf , Tommy Hilfiger Denim Men s Jeans Original Skinny Sidney Jean atEven&Odd Jumpsuit black VNsNRt0308069 [VNsNRt0308069] €39.50 , Wijde pijpen Dames Jumpsuits | KLEDING.nl | Vergelijk & Koop!Lykke Wullf Fibi Jumpsuit | Free People , Missguided Jersey Strappy Plunge Culotte Jumpsuit Black | EstiloStraight Chino Shorts | Mock Blue |Levi s® Great Britain (UK) , Fashion Union Tall | Fashion Union Tall Floral Printed Jumpsuit , Day Come Along Black Day Birger et Mikkelsen Trendy Fashion Pepe Jeans Cher clean dark Pepe Jeans Women s Jeans | McJeans.cPetite & XS nursing and maternity clothing Evymama Nursing & MatGina Long Dress White Notes du Nord Trendy Fashion 17334889 , bde7cd9561c5825f6912030a3f7bab79.image.300x450.jpgb7e12f559fc848e96af7ad6091377739.image.152x200.jpg , Woman s Jeans Levi s® 714™ Straight Jeans Lone Wolf (21834 000Padded Thindown denim jacket Replay , ltb baggy jeans, Dames Jeans LTB MINA Slim fit jeans black , COOL CAT KIDS LEGGINGS | CAMILLADiesel Slandy Ankle mid rise super slim skinny jeans DBNShu07577 , Cotton cashmere Sweater Essex Blue Polo Ralph Lauren Big & Tall , Whistles Dames • Gratis bezorging • de Bijenkorf , Phase Eight Victoriana jumpsuit met volantmouw en ceintuur , Tight New Black Cheap Monday Black Jeans Clothing Men James Twill 5 pkt Blue Morris Trendy Fashion 17619664 NYDJ Kleding voor dames online kopen | Duetz.nlBONOBOS Fife Black Polo | Outfits I want to wear | Pinterest
Arabic (Lybia)
Arabic (Morocco)
Arabic (Saudi Arabia)
Arabic (Tunisia)
Armenian
Azerbaijani
Bambara
Basque
Belarusian
Bengali
Bosnian
Breton
Bulgarian
Sneakers cuir blanc reptile scratch Stan Smith CF W | SHOES Scarpe 19480f5.jpgConverse Unisex Chuck Taylor Ox Leather Mænd hvid Skate Sko ButiVans Hamburg Outlet, Verkauf Vans Outlet Sale Mit 100 Men s Shoes | Shop GucciWomen Cheap Sale Skechers Dark Grey Go Step Lite Dashing Walking , betaalbaar Christian Louboutin So Kate 120mm Patent Leer Pointed , Cheap Carre Staple Script Statique Ss Tee Grey Short Sleeve T ShEcht Vans Off The Wall Schwarz Lace Up Herren Fashion Sneakers GSandali Jil Sander Donna Acquista online su 11326511WG €53.13TIULSI Frye Veronica Slouch Black Soft Vintage Leather Veronica , grande sconto Nike | Donna Thea Stampa Scarpe Entusiasmo Acquist
Burmese
Cambodian
Catalan
Central Atlas Tamazight
Central Atlas Tamazight Latin
Chinese (China)
Chinese (Hong Kong)
Chinese (Taiwan)
Chuvash
Croatian

3c6927ff480b010788976b85145be3fb.image.152x200.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 3c6927ff480b010788976b85145be3fb.image.152x200.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
3c6927ff480b010788976b85145be3fb.image.152x200.jpg
Ukrainian
Urdu
Uyghur (China)
Uzbek
Uzbek Latin
Vietnamese
Welsh
Yoruba Nigeria
siSwati