BS2BS1359470 Image1 Super Portrait.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');
BS2BS1359470 Image1 Super Portrait.jpg
Afrikaans
BS2BS1359470 Image1 Super Portrait.jpg
Albanian
Arabic
Arabic (Algeria)
Arabic (Kuwait)
Butter 30 codegists , Women s Wallets | Designer Evening Clutch & Matinee Wallets| TeMen s Swimwear with Shipping Shop for Mens Swimwear! • CheapUndHUGO BOSS trousers for men | Elegant & casual looksK 키즈 드림(Dream) 드림 , DKNY Medium Bryant Park Satchel. #dkny #bags #shoulder bags #hanInov8 : Men and Women Brand Shoes Clothing for cheap sale online , Faith Black Evelyn tote bag | Debenhams | Spring shopping li , Value Find New Arrivals Amazing Mens White Tennis Iii Head Speedwild thing 1.jpg , 42 best Kipling Bags & Accessories images on Pinterest | Kipling , List of Hyphenated Words , Fossil Handbags, Purses & Wallets | DillardsCase in Florida Boca Raton BR 90112380 83.000 : commenti Hi Tec Penrith Mid Waterpoof Trail Walking Boots SS18 43% Off , Cromia bag 1402225 | ΤΣΑΝΤΕΣ | Pinterest | Bag, Designer bags an , Running Shoes LEITAO New Sneakers Running Shoes For Men Brand 1 Shop | Buy 1 Online | Ubuy BahrainHugo Boss Knitwear clearance online,Hugo Boss Knitwear sale outlAmazon : Outdoor Research Men s Phuket Boardshorts : Sports , 2017 Cheap Baby Grey Bag Storksak Tania Bee Changing Bags | Baby , 1540v2 Men s 1540 Running, Motion Control New BalanceKipling Handbags | Sally ShoulderCrossbody Vibrant Pink NEW | PoKipling Women s Fairfax Handbag/Shoulder Bag yes please but notAmazon: Secrid mini wallet genuine black leather with RFID , Encanto tecoyotitla Live better than you imaginedCoach New York Disney Patricia Saddle Bag.jpgNine West Ava Tote Shoulder Bag, Peach Rose http://www.bagyou.neMICHAEL Michael Kors Jet Set Saffiano Leather Top Zip Tote Pink
Arabic (Lybia)
Arabic (Morocco)
Arabic (Saudi Arabia)
Arabic (Tunisia)
Armenian
Azerbaijani
Bambara
Basque
Belarusian
Bengali
Bosnian
Breton
Bulgarian
Clarks Fassen Chime Loafer: Amazon.de: Schuhe & Handtaschen , Crocs Uomo Grigio Sandali Scarpe Crocband M E Aperte,Crocs Puma Suede Classic+ Black | Puma suede, Pumas and Puma sneakersJeans Voor HerenPjs Veste Homme, Parajumpers Outlet France, Manteau Moncler Homm , Acheter Cuir Lacoste LENGLEN 216 1 Blanc Baskets mode2017 18 Adidas Originals Bianco Superstar Bianco And Argento ton , Hommes : Soldes France Versace | Nike Lumiere La QualitéSage N Briller Brun Foncé Combo Mi Mollet Bottes Aerosoles Wise Nike Lunar Zwarte Maat 46 Tennisschoenen kopen | BESLIST.nl Nouveau Type Cheap Maillot Schalke 04 Embolo | Bundesliga mouvem ,
Burmese
Cambodian
Catalan
Central Atlas Tamazight
Central Atlas Tamazight Latin
Chinese (China)
Chinese (Hong Kong)
Chinese (Taiwan)
Chuvash
Croatian

BS2BS1359470 Image1 Super Portrait.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 BS2BS1359470 Image1 Super Portrait.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
BS2BS1359470 Image1 Super Portrait.jpg
Ukrainian
Urdu
Uyghur (China)
Uzbek
Uzbek Latin
Vietnamese
Welsh
Yoruba Nigeria
siSwati