0e17cddb94567e29f460e9bafb21d9d3.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');
0e17cddb94567e29f460e9bafb21d9d3.image.152x200.jpg
Afrikaans
0e17cddb94567e29f460e9bafb21d9d3.image.152x200.jpg
Albanian
Arabic
Arabic (Algeria)
Arabic (Kuwait)
Women Jeans LTB VALERIE Bootcut jeans asia wash [LTB 3GTuYcYK Classic Slim Satin Jean Putty GANT Trendy Fashion 13954976 , Le Temps Des Cerises | Comprar la nueva colección online en ZALA43 best SS18 KNITWEAR images on Pinterest | Menswear, Knitwear a , Tommy Hilfiger Jeans Womens Regular Rise Skinny Fit Jean Dynamic , Jumpsuits Autograph | M&S , Get The Look: Casual Holiday Party with Friends | Ashley Brooke , SPOTTED: The coolest, #spot6zer Brock Timmerman in T*SPOT , Shop Matinique blazers online here worldwide delivery Matinique , Diesel Jeans • Gratis bezorging • de Bijenkorf , Calvin Klein dames Skinny Jeans | KLEDING.nl | Vergelijk & Koop! , 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 SelfridgeCambio Liu 0116 37 9209 / 5139GUIDO MARIA KRETSCHMER Overall online kaufen | OTTO , 424 & Storm for Hummel Hive / Blog | Storm ,
Arabic (Lybia)
Arabic (Morocco)
Arabic (Saudi Arabia)
Arabic (Tunisia)
Armenian
Azerbaijani
Bambara
Basque
Belarusian
Bengali
Bosnian
Breton
Bulgarian
Adidas Zwart/Wit Schoenen Maat:36,37,38,39,40,41,42,43,44,45 EU Fibras textiles Bajo precio 11097461CV Mocasín Kenzo Mujer | ice , The North Face Womens Clothing & Vests 3 In 1 Jackets | Shop LowConverse by John Varvatos Vintage Slip Nylon Converse Canada wwwOAKLEY Sunglasses FROGSKINS Tobacco / Dark Bronze OO9013 76 | Op , Have Quality Timberland PRO Men Black Synthetic/Blue Pops Veloci , Boots Call It Spring,Bcbgmaxazria,Badgley Mischka,Adidas OutdoorAdidas Adidas outfits Store, Adidas Adidas outfits USA Shop, Adi , Pink Vans Vans SK8 HI LITE LXVI don pendleton light grey, Reason , Hurley Mens Boardshorts Phantom 30 Solid Neon Green | Boardshort
Burmese
Cambodian
Catalan
Central Atlas Tamazight
Central Atlas Tamazight Latin
Chinese (China)
Chinese (Hong Kong)
Chinese (Taiwan)
Chuvash
Croatian

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