2A4204AD00000578 3150282 image a 3 1436129938675.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');
2A4204AD00000578 3150282 image a 3 1436129938675.jpg
Afrikaans
2A4204AD00000578 3150282 image a 3 1436129938675.jpg
Albanian
Arabic
Arabic (Algeria)
Arabic (Kuwait)
Handbags : Men s Shoes,Women s Clothing & Handbags online shop , Approach Shoes Men s ROC ICON GTX hurricane blue/vibra Private American Tourister Backpacks Buy American Tourister Backpacks , Football Boots, Cleats & Shoes | ASICS AU , 43 best MZ Wallace images on Pinterest | Crossbody bags, BackpacKipling Womens Pravia Shoulder Bag K16618900 Black: Amazon.co.ukcheapdesignerbox imitation custom made clutches wall socket , Mochila Kipling Rosa | Bag, Kipling bags and BackpacksDiversas opções de presentes para pais de todos os estilos MODA , Brand Quality Fashion Coccinelle Green medium dome bag Green , x240 Pz.jpgMatthew McConaughey Navy Blue SuitGivenchy | Medium Antigona bag in black leather | NET A PORTER.C2014 ESCAPE Owner s Manual , 17 best Wallet wrist images on Pinterest | Coin purses, Mk handb8 best Perfect Black Distressed Jeans Outfit images on Pinterest , ASOS Extreme Super Skinny Jeans In Acid Wash With Knee Rips 20x Staubsaugerbeutel geeignet Siemens Rapid 980 de119 , Luggage | CostcoNational Drug Prevention Alliance & PPP » Drug SpecificsHugo Boss Chicago Sale, Kurt Geiger Dress Quality Design Buy Onl , Adidas Distancestar Mens Green Blue Running Sports Shoes Spikes Flannel Shirt | Black/white | SALE | H&M US , Buy Desigual Women Handbags Wholesale Online For Size Chart jaqueta moncler vermelha Jaqueta Masculina Cinch Preta e Vermelh , 339 best Vintage Handbag LOVE! images on Pinterest | Vintage Mountain Clothing & Shoes » Outdoor Store | La Sportiva® UK , Women s Wool & Wool Blend Pants & Leggings | Nordstrom , All Sale Handbags | GUESS
Arabic (Lybia)
Arabic (Morocco)
Arabic (Saudi Arabia)
Arabic (Tunisia)
Armenian
Azerbaijani
Bambara
Basque
Belarusian
Bengali
Bosnian
Breton
Bulgarian
Impresos Venta Ankle botas | Ballet pumps Compra , Les 7 meilleures images du tableau KDPASCHERE sur Pinterest | Ni , BANA Sunglasses : Calvin Klein Platinium LUNETTES VIOLET Lunette , ELIZABETH STUART ESCARPINS LACOR 731 Couleur Noir/Noir Femme Under Armour Men s Mirage 3.0 Trail Running Shoes 676720, Hikin
Burmese
Cambodian
Catalan
Central Atlas Tamazight
Central Atlas Tamazight Latin
Chinese (China)
Chinese (Hong Kong)
Chinese (Taiwan)
Chuvash
Croatian

2A4204AD00000578 3150282 image a 3 1436129938675.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 2A4204AD00000578 3150282 image a 3 1436129938675.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
2A4204AD00000578 3150282 image a 3 1436129938675.jpg
Ukrainian
Urdu
Uyghur (China)
Uzbek
Uzbek Latin
Vietnamese
Welsh
Yoruba Nigeria
siSwati