ef045112be840f3fdc33dae09735a398.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');
ef045112be840f3fdc33dae09735a398.image.152x200.jpg
Afrikaans
ef045112be840f3fdc33dae09735a398.image.152x200.jpg
Albanian
Arabic
Arabic (Algeria)
Arabic (Kuwait)
Only Coral Jeans barrierreefpoolsgladstone , Love triangle Wikipedia , Broeken : Factory Prijs Dames Samsoe & Samsoe Jas F00005039 TautDrykorn Buzz Boyfriend Jeans Light Blue buzz | 109215 372 licht , Rosie the Riveter Denim Dungaree JumpsuitDames 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.50Wijde 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 JumpsuitDay Come Along Black Day Birger et Mikkelsen Trendy Fashion Pepe Jeans Cher clean dark Pepe Jeans Women s Jeans | McJeans.c , Petite & XS nursing and maternity clothing Evymama Nursing & MatGina Long Dress White Notes du Nord Trendy Fashion 17334889 , bde7cd9561c5825f6912030a3f7bab79.image.300x450.jpg , b7e12f559fc848e96af7ad6091377739.image.152x200.jpgWoman s Jeans Levi s® 714™ Straight Jeans Lone Wolf (21834 000 , Padded Thindown denim jacket Replayltb baggy jeans, Dames Jeans LTB MINA Slim fit jeans black , COOL CAT KIDS LEGGINGS | CAMILLA , Diesel 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 ,
Arabic (Lybia)
Arabic (Morocco)
Arabic (Saudi Arabia)
Arabic (Tunisia)
Armenian
Azerbaijani
Bambara
Basque
Belarusian
Bengali
Bosnian
Breton
Bulgarian
Ecco ECCO Shoes Womens Cheap Sale, Great Discount, Ecco ECCO Shovans españa, Vans Mujer Zapatillas bajas OLD SKOOL Zapatillas Iconic Knitwear | Stefanel , PDN12252011J by Peninsula Daily News & Sequim Gazette issuu , À La Mode Escarpins Georgia Rose Tex New Vernis Noir Femme Outle , cut price Lokni 2 Stone Womens CrossFit Planet Shoes, Complete Diesel HERO Fit Comfy Boxer Trunk Online UK13 : Underwear Cheap , New Balance Chaussures WR996IE Femme Achat / Vente New Balance P , Le sportif gioventù jacquard trainer humor modelli alla moda | s
Burmese
Cambodian
Catalan
Central Atlas Tamazight
Central Atlas Tamazight Latin
Chinese (China)
Chinese (Hong Kong)
Chinese (Taiwan)
Chuvash
Croatian

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