dayjs

2KB immutable date library alternative to Moment.js with the same modern API

MIT licensed

Tags: dayjs, date, time, immutable, moment

Version

Asset Type

Some files are hidden, click to show all files
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/dayjs.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/af.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ar-dz.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ar-kw.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ar-ly.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ar-ma.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ar-sa.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ar-tn.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ar.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/az.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/be.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/bg.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/bi.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/bm.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/bn.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/bo.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/br.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/bs.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ca.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/cs.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/cv.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/cy.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/da.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/de-at.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/de-ch.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/de.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/dv.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/el.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/en-SG.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/en-au.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/en-ca.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/en-gb.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/en-ie.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/en-il.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/en-in.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/en-nz.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/en-tt.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/en.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/eo.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/es-do.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/es-pr.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/es-us.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/es.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/et.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/eu.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/fa.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/fi.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/fo.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/fr-ca.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/fr-ch.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/fr.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/fy.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ga.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/gd.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/gl.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/gom-latn.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/gu.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/he.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/hi.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/hr.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ht.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/hu.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/hy-am.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/id.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/is.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/it-ch.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/it.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ja.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/jv.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ka.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/kk.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/km.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/kn.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ko.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ku.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ky.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/lb.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/lo.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/lt.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/lv.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/me.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/mi.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/mk.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ml.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/mn.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/mr.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ms-my.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ms.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/mt.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/my.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/nb.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ne.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/nl-be.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/nl.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/nn.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/oc-lnc.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/pa-in.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/pl.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/pt-br.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/pt.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ro.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ru.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/rw.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/sd.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/se.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/si.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/sk.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/sl.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/sq.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/sr-cyrl.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/sr.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ss.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/sv.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/sw.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ta.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/te.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/tet.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/tg.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/th.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/tk.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/tl-ph.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/tlh.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/tr.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/tzl.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/tzm-latn.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/tzm.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ug-cn.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/uk.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/ur.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/uz-latn.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/uz.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/vi.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/x-pseudo.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/yo.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/zh-cn.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/zh-hk.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/zh-tw.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/locale/zh.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/advancedFormat.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/badMutable.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/buddhistEra.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/calendar.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/customParseFormat.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/dayOfYear.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/duration.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/isBetween.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/isLeapYear.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/isMoment.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/isSameOrAfter.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/isSameOrBefore.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/isToday.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/isTomorrow.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/isYesterday.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/isoWeek.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/isoWeeksInYear.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/localeData.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/localizedFormat.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/minMax.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/objectSupport.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/quarterOfYear.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/relativeTime.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/toArray.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/toObject.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/updateLocale.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/utc.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/weekOfYear.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/weekYear.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.8.31/plugin/weekday.min.js

Library Tutorials

Want to write your own awesome tutorials? Make and submit them today