AD542A25M A11.jpgAD542A25M A11.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');
AD542A25M A11.jpg
Afrikaans
AD542A25M A11.jpg
Albanian
Arabic
Arabic (Algeria)
Arabic (Kuwait)
Chaussures de Foot ball ADIDAS PERFORMANCE Messi 15.3 IN | Semi , France Adidas Originals Los Angeles Trainer Hommes Chaussures Shrink Preuve Noir Alquo Vario Sandales De Bain Noir/Tribe Bleu Chaussures D haltérophilie Adidas Powerlift 2.0 Hommes | Flash , Vente Discount Homme Trainers Adidas ZX Flux Racer Primeknit Noi , Chaussures de Football Adidas Ace 16.1 FG/AG 498040 9972 Homme , Chaussures Adidas, Adidas Ace 15.3 FG/AG | Hommede foot & Rugby Adidas Performance Ace 16.4 Tf Homme Shock Bleu , Clásicos Moderne Adidas Performance Meilleures Galaxy 2 ChaussurChaussures Adidas, Adidas Adilight Slide | Homme , Sports Nautiques : Soldes France Versace | Nike Lumiere La QualiAdidas Duramo 7 au meilleur prix sur idealo.fr , Bon Prix Zip Fixation De Adidas Originals Tubular Radial Chaussu , Adidas Chaussure Messi 15.4 Indoor Couleur Semi Solar Slime/Solaadidas Originals Tubular X Primeknit Clear Granite | Adidas Chaussures de Foot ADIDAS PERFORMANCE Ace 16.2 CT | Bleu/Black/SChaussures Adidas, Adidas Messi 15.4 FXG | Hommeveritas lo , Populaire Hommes Adidas Performance Climacool Jawpaw Slip On ShoAchat Classique Adidas Performance Response Approach Str ChaussuChaussures de Randonnée ADIDAS Climacool Voyager | vert/Black/blSandales et Tongs|Hommes Natation Sandale adilette Supercloud PlChaussures Adidas, Adidas Ace 15.4 FXG | Homme2017 Nouvelle Mode Adidas Throwstar Baskets Basses Homme Blanc De Prix La Adidas Adipower Sport Boost 2 Chaussures De Golf HommExcellent adidas Originals | Adilette Sandales adi Bleu Blanc ad , adidas Originals Veritas X Weave Noir Chaussures Basket montante , Chaussures Adidas, Adidas Adizero Adios 3 | Homme , Le Plus Populaire Adidas Performance Springblade Drive Chaussure
Arabic (Lybia)
Arabic (Morocco)
Arabic (Saudi Arabia)
Arabic (Tunisia)
Armenian
Azerbaijani
Bambara
Basque
Belarusian
Bengali
Bosnian
Breton
Bulgarian
Florsheim Work More Fashionable, Florsheim Work Good Product 6 Reasons to/NOT to Buy Nike Free RN 2017 Shield (May 2018) | RuNike Flex Raid Low Top Trainers | Nike : 80% offSNEAKERS : SCARPE Made in Italy| vendita online scarpe ed access , Xti : Scarpe Sneakers basse,Running / Trail Outlet Italia PERLATO : Markenschuhe für Damen und Herren Online Kaufen | Zsc , CHTOU Da donnaStivalettiTempo libero / Casual
Burmese
Cambodian
Catalan
Central Atlas Tamazight
Central Atlas Tamazight Latin
Chinese (China)
Chinese (Hong Kong)
Chinese (Taiwan)
Chuvash
Croatian

AD542A25M A11.jpgAD542A25M A11.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 AD542A25M A11.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
AD542A25M A11.jpg
Ukrainian
Urdu
Uyghur (China)
Uzbek
Uzbek Latin
Vietnamese
Welsh
Yoruba Nigeria
siSwati