72045 large default.jpg72045 large default.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');
72045 large default.jpg
Afrikaans
72045 large default.jpg
Albanian
Arabic
Arabic (Algeria)
Arabic (Kuwait)
Hogan Scarpe Uomo Più Economico | Roger Vivier Stivali Acquista Converse Chuck Taylor | La collezione su ZalandoUGG Boots for Women | Click & Collect | Very.co.uk , Ascolti TV | 22 gennaio 2018 | Dati Auditel | DavideMaggio.itStivaletti neri 530de5d8.jpg , LFEU Basse Uomo, Nero, 39 techforgamer Per Vendita Negozio , Adidas Scarpe Zx Flux Nero E Oro www.shadespk.net54 best ✯ CONVERSE SNEAKERS ✯ images on Pinterest | Converse sho , MICHELE CICCONE Gästebuch , Scarpe eleganti da donna | Scopri l assortimento su ZalandoEn Silence l Oiseau Vole Au Travers De Nous: Doute Des SouvenirConsigli di stile (Foto) | StylosophyAsics Cingolatura Shop, Asics Cingolatura Comprare, Asics SLIP UOMO 27169d17.jpgPUMA Future Cat M1 uomo carbonio Midnight Navy | D Media S791203Jason Bateman | Barefoot Men | Pinterest | Barefoot menInternational social science journal, XII, 4; International sociArricciacapelli Biopoint.jpg , merchant:Snapdeal: | By Price: High to Low | Page 646Polo marrone Ralph Lauren uomo L.jpg , Flip flops : New Style Sandals Threepenny, Store Boots Large x240 Yoc.jpg , Adidas Scarpe Outlet Milano Con Grandi Sconto: Puma Suede Saldi Collezione Primavera Estate 2018 | GUESS Sito Ufficiale , Mitigating Risk – What Startups can learn from Pro Cycling 2016 Abbigliamento E Scarpe Di Marca Economici Da Uomo Vendite O , Art International | World Food BooksScarpe da fitness da donna : Scarpette Da Uomo : , Maglia donna bianco nero.jpg ,
Arabic (Lybia)
Arabic (Morocco)
Arabic (Saudi Arabia)
Arabic (Tunisia)
Armenian
Azerbaijani
Bambara
Basque
Belarusian
Bengali
Bosnian
Breton
Bulgarian
Chelsea Kind : Goedkope Europa Cup Voetbalshirts Replica 2017 , promotion Asics Gel fujiracer (Navy/Silver/Lime Punch) 3 Mens Ne , Styles Shoes DJANGO & JULIETTE liesl black leather WomenSalomon Homme Chaussures de running Paris Pas De Taxe De Vente , New Balance Classics ML574 Camo A25LA705 [A25LA705] <:-66.83Magnifique Vans Authentic™ Core Classics Unisex Chaussures Noir , Boots cuir denny frances noir Clarks OMtNlpEd [OMtNlpEd] €124.92Donna BJ8385 Rieker Jikke 65540 (Grigio) Sandali e scarpe aperte ,
Burmese
Cambodian
Catalan
Central Atlas Tamazight
Central Atlas Tamazight Latin
Chinese (China)
Chinese (Hong Kong)
Chinese (Taiwan)
Chuvash
Croatian

72045 large default.jpg72045 large default.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 72045 large default.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
72045 large default.jpg
Ukrainian
Urdu
Uyghur (China)
Uzbek
Uzbek Latin
Vietnamese
Welsh
Yoruba Nigeria
siSwati