x240 I56.jpgx240 I56.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');
x240 I56.jpg
Afrikaans
x240 I56.jpg
Albanian
Arabic
Arabic (Algeria)
Arabic (Kuwait)
Ladies Golf Shoes | Women s Golf Shoes | Golf Shoes for Women , 941 best 9 to 5 Office Attire images on Pinterest | Work wear 81231594094 list s 04.jpgone sip, his skin is whiskey on my lips. . . . . . #fullbeauty Nike Performance,Adidas Originals Superstar,Converse Chuck Taylohomer salesman, women mules & clogs homers thais sandals arena MASTER MAGICIAN SAC VASANTHPlatform sole measures approximately 40mm/ 1.5 inches Black leat , Rainbow sandals on flip flop Friday. | Stuff to Buy | Pinterest FBSister Longshirt Damen S.jpg , Badehose 2e2c1b0b.jpg , NIKE Mens Court Borough Low Basketball Sneakers [00013724] Gucci Women Shoes Women s Sandals , Sussex Sport Issue 17 by Global Sports Media issuu , Women Shoes Gioseppo Clearance Online 100% Authentic Attractive , Ballerina Shoes & Boots | M&SGx By Gwen Stefani : , Blitz Videotheek & Printstation , 265 best Shoe addict images on Pinterest | Ankle, Carousel and P , EL NATURALISTA, EL NATURALISTA Stella Ballerinas, khaki | mirapoSoda Tiller Womens Oxford Shoes (❤ liked on Polyvore featuring , Mengenrabatt Leder Damen Halbschuhe ANN MEX 7596 05W Granat , Högl | Wohlfühlen mit femininen & hochwertigen Schuhen | ZALANDO , Damen/Herren/Kinder Schuhe Sale Outlet Store Gartentippsundco.de , Steve Madden Women s Glory Two Piece Platform Sandals Sandals , Femme Sandales et Nu pieds Kickers Revendeur Boutique En France soyons suave: Soyons Peplum !Gratis 4d8b148a.jpgDamen Oberteil von Benotti.jpg
Arabic (Lybia)
Arabic (Morocco)
Arabic (Saudi Arabia)
Arabic (Tunisia)
Armenian
Azerbaijani
Bambara
Basque
Belarusian
Bengali
Bosnian
Breton
Bulgarian
Converse Chuck Taylor All Star Hi Top Shoes Orange Ray | Free , Adidas Adizero Pazzo Luce 2.0 Scarpe Nero Grigio Outlet Milano , Nike Free 3.0 : Nike rosheruns , Køb Nike Nike Air Max LTD Mænd København Billige, Seneste Kollek , LJ5809 Altra Instinct Everyday Herren Lässige Schuhe Schwarz,OutHugo Boss Köln Offiziellen Online Geschäft Kosten Mit Rabatt BisSnowboard Mutsen voor heren online kopen bij PLANET SPORTSSherman Nick Rubber Oxford Men s Oxfords Shoes Online Winter
Burmese
Cambodian
Catalan
Central Atlas Tamazight
Central Atlas Tamazight Latin
Chinese (China)
Chinese (Hong Kong)
Chinese (Taiwan)
Chuvash
Croatian

x240 I56.jpgx240 I56.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 x240 I56.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
x240 I56.jpg
Ukrainian
Urdu
Uyghur (China)
Uzbek
Uzbek Latin
Vietnamese
Welsh
Yoruba Nigeria
siSwati