PANews BT P 80b6fda8 c596 4c90 a57c 64f5104d7439 I1.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');
PANews BT P 80b6fda8 c596 4c90 a57c 64f5104d7439 I1.jpg
Afrikaans
PANews BT P 80b6fda8 c596 4c90 a57c 64f5104d7439 I1.jpg
Albanian
Arabic
Arabic (Algeria)
Arabic (Kuwait)
MASTER MAGICIAN SAC VASANTH , Platform sole measures approximately 40mm/ 1.5 inches Black leatRainbow 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 issuuWomen Shoes Gioseppo Clearance Online 100% Authentic Attractive Ballerina Shoes & Boots | M&S , Gx By Gwen Stefani :Blitz Videotheek & Printstation , 265 best Shoe addict images on Pinterest | Ankle, Carousel and PEL 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.deSteve 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.jpg , Damen Oberteil von Benotti.jpg38 best El Naturalista images on Pinterest | Collage, Collagen a , September | 2012 | Mindanao Examiner Regional NewspaperWomen s Ankle Boots | Black, Brown & Grey Ankle Boots OFFICESalomon RX Slide 3 ab 39,00 € | Preisvergleich bei idealo.deGOrun 400 | Skechers and Shopping23 best Heels Hub images on Pinterest | Bridal shoes, High heels
Arabic (Lybia)
Arabic (Morocco)
Arabic (Saudi Arabia)
Arabic (Tunisia)
Armenian
Azerbaijani
Bambara
Basque
Belarusian
Bengali
Bosnian
Breton
Bulgarian
MEDIUM adidas Women s BROOKLYN HEIGHTS FASHION BOMBER TRACK JAC , Reebok Reebok ZJet Burst Vari Colori, Reebok Reebok ZJet Burst , Superstar Vulc ADV(Wit & Kern Zwart & Wit)AD D68718,SKU , adidas concord round, ADIDAS ORIGINALS Sneakers Bordeaux Herren Günstige Vans Authentic Schwarz / Gummi Outlet :New balance Women s running shoes Sale USA | High Quality , Tassen van Mazarin | TORFS.BE | Gratis verzend en retour , Diamante Snapback Cappello 15 Nuovo Arrivo 2038
Burmese
Cambodian
Catalan
Central Atlas Tamazight
Central Atlas Tamazight Latin
Chinese (China)
Chinese (Hong Kong)
Chinese (Taiwan)
Chuvash
Croatian

PANews BT P 80b6fda8 c596 4c90 a57c 64f5104d7439 I1.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 PANews BT P 80b6fda8 c596 4c90 a57c 64f5104d7439 I1.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
PANews BT P 80b6fda8 c596 4c90 a57c 64f5104d7439 I1.jpg
Ukrainian
Urdu
Uyghur (China)
Uzbek
Uzbek Latin
Vietnamese
Welsh
Yoruba Nigeria
siSwati