x240 ras.jpgx240 ras.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 ras.jpg
Afrikaans
x240 ras.jpg
Albanian
Arabic
Arabic (Algeria)
Arabic (Kuwait)
Reebok Classic Nylon Chalk On Feet Sneaker Review | ReebokMen s Shoes : Latest fashion trends,Skirts,Jeans,Men s ClothinWalking Shoes : Clogs & Mules,Lace Ups,Sandals,Sneakers & Athlet , Amazon | Reebok Men s Hexaffect Run 5.0 MTM Sneaker, Black/Whit , Dota2 Camp totem logo keychain zinc alloy keyring radiant nightmadidas NEO Cloudfoam VS City Sneaker Core Black/Matte Silver/SolWallabee Run in Emerald Green Suede Mens Shoes from Clarks | Flybernie mev. Charm at ZapposMens Fred Perry Byron Low Suede Falcon Grey/Black Falcon Grey/Ca , SkechersSkechers Women s Breathe Easy Sweet Darling Low Top Sneakers: A , Converse All Star High Tops & Sneakers | Chuck Taylors | DSWSkechers Go Run 400 Sole Ladies Lace up Sports Running Trainers , Amazon | Ariat Men s Fuse Athletic Shoe | Shoes , Converse on sale cheap, converse chuck taylor® all star® missoni , Hotter Shoe Sale | Comfortable Shoes | Hotter US , New Balance Turfs | new balance 4040v2 turf synthetic | Softball , Rockport Cobb Hill Women s Zahara CH Flat: Amazon.ca: Shoes & HDe Grasse s Coach Says Track Has A Money ProblemWholesale price ASICS Mens JB Elite V2.0 Wrestling Shoes (Jet Bl , 81 best I like it images on Pinterest | Shoes sandals, Cool thin , Easy Spirit Shoes For Less | Overstock , Women s Dansko Sneakers, Athletic & Running Shoes | NordstromSale Summer Nike SB Paul Rodriguez 9 CS Black/White/Black Super , Amazon: DVS Men s Durham Skate Shoe: Shoes디바 성형외과 , Nike Air Max , Intel Core i5 2300 Processor 2.8 GHz 6 MB Cache Socket LGA1155 , Onitsuka Tiger by Asics Unisex Mexico 66 SD Black/Black Men s 1 ,
Arabic (Lybia)
Arabic (Morocco)
Arabic (Saudi Arabia)
Arabic (Tunisia)
Armenian
Azerbaijani
Bambara
Basque
Belarusian
Bengali
Bosnian
Breton
Bulgarian
Faith Black Evelyn tote bag | Debenhams | Spring shopping li , Timberland Earthkeepers Casco Bay Ox M (Black) Trainers chez , ECCO MOBILE III GTX BOOT | WOMENS | BOOTS | ECCO USA , Kennel & Schmenger Mittelbraun Absatz Stiefeletten 311285dr martens style Stiefel Billig, Dr.Martens Lack Schnürboots PASPaladium pampa homme Achat / Vente pas cherDégagement Chaussures De Course Puma Carson Runner Knit Homme , Basket Ball Garçon : 2017 Nouvel An des articles de mode de , Specials : Second Female Skjorte Online Salg Danmark, Udsalg Køb , Stilettos HÖGL 5 107902 Koralle 8900 Stilettos Low shoes Naturalizer Asics,K Swiss,Lacoste,Clarks,Brooks,Timberland,Günst
Burmese
Cambodian
Catalan
Central Atlas Tamazight
Central Atlas Tamazight Latin
Chinese (China)
Chinese (Hong Kong)
Chinese (Taiwan)
Chuvash
Croatian

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