Screen Shot 2016 12 29 at 8.54.46 AM.png

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');
Screen Shot 2016 12 29 at 8.54.46 AM.png
Afrikaans
Screen Shot 2016 12 29 at 8.54.46 AM.png
Albanian
Arabic
Arabic (Algeria)
Arabic (Kuwait)
sneakers Michela Bordeaux Hakken BORDEAUX A82z1440, goedkoopgoedkoop Aerin Block Hakken Sandalen Zwart Microsuede P20u6623 Turns Out It Was Our Boy Israel Whose Info Trump Spilled To The , laarzen Barbara Hakken Zwart Wit A3a2663, online winkel , Getcity Suede Ballet Flats Easy Spirit | Comfortable Shoes For W , City Apartments Studios, Groningen, Netherlands Booking , de nieuwste Church Sandalen Bone O69x9009, modeWomen Flats : www.hashaslezzetleriRiva studio balance flue fire with Panasonic tv above. | chimene , Kunshan Wavelink Electronic Co., Ltd. Antenna, RF Connector , Vivobarefoot Jing Jing Cobblestone **U.S. SHIPPING ONLY** , Instappers | TOMS® , materiaal goed Aurora Flats M100g5992, geen belastingFred Perry : Adidas,New Balance,Puma,Jack & Jones,Timberland new , Platte Schoenen, Ongelooflijke Kortingenhoge kwaliteit Anna Hakken Nude C77o1899, Zero Profit , betaalbare Osaka Sandalen Nude S22l3128, Counter Genuine , Lyst Melissa Campana Metallic Barroca Sandals in Pink , THE HIT LIST: March 6, 2017 , Espadrille Flats You ll Love for Spring 2016! | Candie Andersongoede kwaliteit Trump Hakken Zwart Suede F30b7294, hot selling , Rapper Fabolous who also posts about menswear and fashion on hisgeschikt Flap Suede Instappers Zwart Q45i1961, hoge kwaliteitInstappers : schoenen, schoenen online, damesschoenen, herenscho , Vrouwen kleding / Dames schoenen Opslag online Dames modeFlats Brand shoes clothing Accessories network flagship store , 50 best Blue Suede Shoes images on Pinterest | Blue suede shoes , LE FASHION BLOG STREET STYLE CELINE GOLD CHUNKY CHAIN BRACELET Schulterfreie Damen Bluse in Silber | Supr moda | Pinterest | Mo ,
Arabic (Lybia)
Arabic (Morocco)
Arabic (Saudi Arabia)
Arabic (Tunisia)
Armenian
Azerbaijani
Bambara
Basque
Belarusian
Bengali
Bosnian
Breton
Bulgarian
Bella Scarpe Donna Suede Kaki. Rose. Blanc Puma | Puma AffidabilWomens ADIDAS SUPERSTAR BOLD W White Leather Trainers BA7666 | e , Nike Free Tilbud i Danmark | Nike Free Spar Op Til 60% | 100 , Amazon | ECCO Men s Intrinsic Toffel Thong Sandal | Sandals , Womens Clarks Mary Janes Size 9M Black Leather Buckle Strap Slip , global försäljning Barbour Setter Black Womens Wellington Boots Adidas Light Grey/White Estro 15 Soccer Jersey adidas sale Adida , Hohe Qualität Damen FitFlop Sandalen Yoko Rosa Fitflop Amazon 9DBARENA Veste Vert foncé 49321277VI MHPQWTS [MHPQWTS] €117.28Hollister Online Shop | Hollister Slit Pocket Truien Heren Oranj , WONDERS Chaussures, Sacs WONDERS Livraison Gratuite avec Spartoovendite calde Uomo Camicie Alliance EmblemWarcraftT shirt D5p5w , 10579 0.jpg ,
Burmese
Cambodian
Catalan
Central Atlas Tamazight
Central Atlas Tamazight Latin
Chinese (China)
Chinese (Hong Kong)
Chinese (Taiwan)
Chuvash
Croatian

Screen Shot 2016 12 29 at 8.54.46 AM.png

Czech
Danish
Dutch
Dutch (Belgium)
English (Australia)
English (Canada)
English (Ireland)
English (Israel)
English (New Zealand)
English (United Kingdom)
English (United States)
Esperanto
Estonian Screen Shot 2016 12 29 at 8.54.46 AM.png
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
Screen Shot 2016 12 29 at 8.54.46 AM.png
Ukrainian
Urdu
Uyghur (China)
Uzbek
Uzbek Latin
Vietnamese
Welsh
Yoruba Nigeria
siSwati