e053c163b4f60dfabb8b63660d5a9600.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');
e053c163b4f60dfabb8b63660d5a9600.image.152x200.jpg
Afrikaans
e053c163b4f60dfabb8b63660d5a9600.image.152x200.jpg
Albanian
Arabic
Arabic (Algeria)
Arabic (Kuwait)
Closet Lace Wrap Top JumpsuitClassic Oxford lsl sht 180 Ebony/white Polo Ralph Lauren Trendy Orange Label Urban Flash Short Urbanite Grit Superdry Trendy International Chino Short Graphite Navy Superdry Trendy Fashion Celsi Super Skinny Ankle Jeans | Shop dames jeans online , 123g monte Carlo Lc brie Black/black Lauren Ralph Lauren Trendy , Maternity jeans at Noppies online , Daren Clean Black Clean Black Lee Jeans Trendy Fashion , 53 best Fine Vintage Watches images on Pinterest , Ted Baker KLEEA CROSS FRONT Jumpsuit black yJnxxj3018865 Ollie Light Blue Wash New Mid Bl Filippa K Trendy Fashion Dresses collection The Women s Store | Samsøe & Samsøe®Whistles Women s Clothing | Clothes for Women | ZALANDO UKRosner Audrey high waist slim fit jeans met gekleurde wassing , Black Polka Dot Wrap Dress Miss Selfridge , Cambio Liu 0116 37 9209 / 5139 , GUIDO MARIA KRETSCHMER Overall online kaufen | OTTO , 424 & Storm for Hummel Hive / Blog | StormDiesel Gracey super slim skinny fit low waist jeans 084QJ , Cotton 5pt dnm Hirst Denim & Supply Ralph Lauren Trendy Fashion , Whistles MICRO TULIP PRINT COLD SHOULDER Jumpsuit navy JLTNht953Jumpsuits • bekijk de collectie • Gratis bezorging • de BijenkorShop for Heine Rick Cardona | Coats & Jackets | Fashion | online , Levi s® Destructed Cuffed Original Overalls | DillardsPetite Clothing | Clothing | Dorothy Perkins , Molly Bracken Clothing | This Season s Top Trends | ZALANDO UK , Feestelijke Dames Jumpsuits | KLEDING.nl | Vergelijk & Koop! , LolaLiza Jumpsuit met detail op de schouders yBsLRq6712460 , Sweat Shorts Army HAN Kjøbenhavn Trendy Fashion 17203087 ,
Arabic (Lybia)
Arabic (Morocco)
Arabic (Saudi Arabia)
Arabic (Tunisia)
Armenian
Azerbaijani
Bambara
Basque
Belarusian
Bengali
Bosnian
Breton
Bulgarian
Nike Air Force 1 High LV8 Men s Casual Shoes Pure Platinum Lagra Fred Perry Herr Bomber krage Pique Polo T shirt Vit,Kindah99 best ohmagah SHOES images on Pinterest | Zapatos, Boots for wprezzo ragionevole quanto costa una felpa di adidas a londra DTH83001871 Size 7 United States Lacoste Women / Men 2017 LacostCanotte : Abbigliamento & Scarpe Di Marca Economici Da Uomo Onli , Official Noa Noa webshop | Shop Noa Noa fashion online , Sandales femme talon carré Adèle cuir jaune et python ExclusifAdidas Galaxy Elite 2 Noir Gris 40 1/2 pas cher Achat / Vente Planering engelska åk 4
Burmese
Cambodian
Catalan
Central Atlas Tamazight
Central Atlas Tamazight Latin
Chinese (China)
Chinese (Hong Kong)
Chinese (Taiwan)
Chuvash
Croatian

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