Skip to content
JS
Package category

Date and time

Parse, format, compare and manipulate dates, times and time zones.

306 packages7 comparisons

Packages compared

306 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
@colyseus/clock
A simple clock/ticker implementation to track elapsed/delta time.
39.9k---8 months ago
2.0.3
ESM + CommonJSBundledDate and time
@js-joda/locale_en-us
prebuilt js-joda locale package for locales: en,en-US
36.6k---2 months ago
5.2.0
ESM + CommonJSNoneDate and time
ember-moment
Moment.js template helpers Ember.js
34.6k+35%-6 months ago
11.1.0
CommonJSBundledDate and time
timestamp-nano
Timestamp for 64-bit time_t, nanosecond precision and strftime
34.4k+37%-3 years ago
1.0.1
CommonJSBundledDate and time
datejs
DateJS is the most full-featured, internationalized, open-source JavaScript Date Library.
34k+72%-11 years ago
1.0.0-rc3
CommonJSNoneDate and time
ts-luxon
Typescript version of the "Immutable date wrapper"
33.1k-11%-10 days ago
6.4.0
ESM + CommonJSBundledDate and time, TypeScript tooling
luxon-business-days
Luxon plugin to manipulate time through business days
32.4k+56%-4 years ago
3.0.1
CommonJSNoneDate and time
@hebcal/hdate
converts between Hebrew and Gregorian dates using Rata Die (R.D.) algorithm by Dershowitz and Reingold
32.1k---1 month ago
0.22.8
ESM onlyBundledDate and time
moment-parseformat
A moment.js plugin to extract the format of a date/time string
31.8k-62%-5 years ago
4.0.0
-NoneDate and time
timezone
Small, elegant, Olson educated, timezone aware date math and `strftime` date formatting in pure JavaScript with no dependendcies for Node.js and the browser. Timezone uses the Olson/IANA timezone database. Timezone is aware of every clock transition in th
31.5k-15%-6 years ago
1.0.23
-NoneDate and time
nunjucks-date-filter
A 'date' filter for Nunjucks implementing moment.js
28.6k+276%-11 years ago
0.1.1
CommonJSNoneDate and time
ember-cli-moment-shim
Brings moment and moment-timezone into your Ember applications
26k+17%-6 years ago
3.8.0
-NoneDate and time
moment-business
Methods to work with week days and weekends in moment.
24.8k-30%-10 years ago
3.0.1
CommonJSNoneDate and time
datebook
Generates URLs and ICS file content for adding events to popular calendar apps.
24.6k+23%-3 years ago
8.0.1
ESM + CommonJSBundledDate and time
timezones.json
Full list of UTC timezones
24.2k+15%-1 year ago
1.7.2
CommonJSBundledDate and time
natsort
Javascript natural sort algorithm with unicode support.
23.9k+54%-5 years ago
2.0.3
CommonJSBundledDate and time
timezoned-date
Constructors and objects behave exactly like built-in Date; the TZ offset is configurable
23.9k+5%-9 years ago
3.0.2
CommonJSNoneDate and time
date-time-format-timezone
Surgically polyfills timezone support in Intl.DateTimeFormat API
23.2k-42%--
1.0.22
CommonJSNoneDate and time, Polyfills and shims
nanoseconds
Convert the process.hrtime() array to a single nanoseconds value. This makes it easier to diff times.
23.1k-40%-8 years ago
1.0.1
CommonJSNoneDate and time
format-duration
Convert a number in milliseconds to a standard duration string.
22.4k+2%-3 months ago
4.0.0
ESM onlyBundledDate and time
@hapi/joi-date
Joi extension for dates
21.5k---6 years ago
2.0.1
CommonJSNoneDate and time, Schema validation
cldr
Library for extracting data from CLDR (the Unicode Common Locale Data Repository)
20.9k+21%-9 months ago
8.0.0
CommonJSNoneInternationalisation, Date and time
@blueprintjs/datetime2
Re-exports of @blueprintjs/datetime APIs
18k---7 days ago
3.2.6
ESM + CommonJSBundledDate and time, UI component libraries
datetime
Date and time formatting
17.9k-21%-15 years ago
0.0.3
CommonJSNoneDate and time
cron-fast
Fast and tiny JavaScript/TypeScript cron parser with timezone support - works in Node.js, Deno, Bun, Cloudflare Workers, and browsers. Zero dependencies.
17.6k--7 days ago
3.12.0
ESM + CommonJSBundledDate and time, TypeScript tooling
metascraper-date
Metascraper rule to extract the date from HTML using Open Graph, JSON-LD, and fallback selectors.
16.9k+214%-1 month ago
5.56.2
CommonJSBundledDate and time, Scraping and browser automation
node-datetime
Extended Date object for javascript. 1. Handles offests by days and hours. 2. Built-in formatting function. 3. Time based value calculation.
16.4k+2%-8 years ago
2.1.2
CommonJSNoneDate and time
@countrystatecity/countries
Official countries, states, and cities database with iOS/Safari support and minimal bundle size
14.6k---1 month ago
1.0.9
ESM + CommonJSBundledDate and time, TypeScript tooling
moment-round
Date rounding for Moment.js
13.6k+8%-11 years ago
1.0.1
CommonJSNoneDate and time
moment-strftime
moment-strftime adds strftime to Moment.js
13.5k+47%-8 years ago
0.5.0
CommonJSNoneDate and time
excel-date-to-js
Convert Excel date in integer format into JS date. Dates are stored as numbers in Excel and count the number of days since January 0, 1900 (1900 standard, for mac it is 1904, which means January 0, 1904 is the start date). Times are handled internally as
13.3k+43%-4 years ago
1.1.5
CommonJSNoneDate and time, PDF and documents
browser-interaction-time
<p align="left"> <img src="https://raw.githubusercontent.com/atlassian/browser-interaction-time/master/bit.png" width="200" /> </p>
12.7k+15%--
3.0.0
ESM + CommonJSBundledDate and time, TypeScript tooling
date-vir
Easy and explicit dates and times.
12.7k+718%-3 days ago
9.2.0
ESM onlyBundledDate and time
libphonenumber-geo-carrier
This library includes the geocoding, carrier mapping and timezone mapping functionalities that are available in some of googles libphonenumber libraries but not in libphonenumber-js (a port of libphonenumber).
12.5k+535%-6 months ago
2.0.0
ESM + CommonJSBundledDate and time
date-fns-holiday-us
The purpose of this project is to give an interface to work with holidays using date-fns
12.2k+133%-3 months ago
1.2.0
ESM + CommonJSBundledDate and time
time-cache
A key-value cache that puts a expiry date on its entries.
11.6k+86%-9 years ago
0.3.0
CommonJSNoneCaching, Date and time
cron-expression-validator
Validate cron expressions
11.5k+0%-5 years ago
1.0.20
CommonJSBundledDate and time, Schema validation
jest-date
Custom jest matchers to test dates
11.3k+26%-3 years ago
1.1.6
CommonJSBundledDate and time
nepali-date-converter
A small Javascript/Typescript Library to convert English Date to Nepali and Vice Versa.
11k+237%--
3.4.0
ESM + CommonJSBundledTypeScript tooling, Date and time
moment-business-time
Query and manipulate moment objects within the context of business/working hours
11k+28%-4 years ago
2.0.0
CommonJSNoneDate and time
@js-joda/locale_en
prebuilt js-joda locale package for locales: en.*
10.8k---2 months ago
5.2.0
ESM + CommonJSNoneDate and time
country-list-js
Country data for 250 countries and territories: ISO 3166-1 codes, names, capitals, currencies, dialing codes, subdivisions, borders and IANA time zones. No dependencies.
10.7k+23%-21 days ago
4.0.0
ESM + CommonJSBundledDate and time
twix
Twix.js allows you to work with date ranges
10.6k-57%-7 years ago
1.3.0
CommonJSNoneDate and time
moment-timezone-all
Parse and display moments in any timezone.
10.6k-10%-10 years ago
0.5.5
CommonJSNoneDate and time
decap-cms-widget-datetime
Widget for editing dates and times in Decap CMS.
10.3k-0%-15 days ago
3.6.2
ESM + CommonJSNoneDate and time
@abp/luxon
ABP Framework is a complete open-source infrastructure to create modern web applications by following the best practices and conventions of software development. This package is a part of the [ABP Framework](https://abp.io) and contains client-side files.
10.3k---11 days ago
10.6.1
-NoneDate and time, Angular
@abp/moment
ABP Framework is a complete open-source infrastructure to create modern web applications by following the best practices and conventions of software development. This package is a part of the [ABP Framework](https://abp.io) and contains client-side files.
10k---11 days ago
10.6.1
-NoneDate and time, Angular
dayjs-ext
2KB immutable date time library alternative to Moment.js with the same modern API
9.6k+38%-7 years ago
2.2.0
CommonJSBundledDate and time
jewish-date
Converts Gregorian dates to Hebrew dates and vice versa.
9.5k+186%-1 month ago
2.0.29
ESM + CommonJSBundledDate and time
netlify-cms-widget-date
Widget for editing dates in Netlify CMS.
9.4k-49%-5 years ago
2.6.3
ESM + CommonJSNoneDate and time, Cloud SDKs

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.

  • @colyseus/clockA simple clock/ticker implementation to track elapsed/delta time.
  • @js-joda/locale_en-usprebuilt js-joda locale package for locales: en,en-US
  • ember-momentMoment.js template helpers Ember.js
  • timestamp-nanoTimestamp for 64-bit time_t, nanosecond precision and strftime
  • datejsDateJS is the most full-featured, internationalized, open-source JavaScript Date Library.
  • ts-luxonTypescript version of the "Immutable date wrapper"
  • luxon-business-daysLuxon plugin to manipulate time through business days
  • @hebcal/hdateconverts between Hebrew and Gregorian dates using Rata Die (R.D.) algorithm by Dershowitz and Reingold
  • moment-parseformatA moment.js plugin to extract the format of a date/time string
  • timezoneSmall, elegant, Olson educated, timezone aware date math and `strftime` date formatting in pure JavaScript with no dependendcies for Node.js and the browser. Timezone uses the Olson/IANA timezone database. Timezone is aware of every clock transition in th
  • nunjucks-date-filterA 'date' filter for Nunjucks implementing moment.js
  • ember-cli-moment-shimBrings moment and moment-timezone into your Ember applications
  • moment-businessMethods to work with week days and weekends in moment.
  • datebookGenerates URLs and ICS file content for adding events to popular calendar apps.
  • timezones.jsonFull list of UTC timezones
  • natsortJavascript natural sort algorithm with unicode support.
  • timezoned-dateConstructors and objects behave exactly like built-in Date; the TZ offset is configurable
  • date-time-format-timezoneSurgically polyfills timezone support in Intl.DateTimeFormat API
  • nanosecondsConvert the process.hrtime() array to a single nanoseconds value. This makes it easier to diff times.
  • format-durationConvert a number in milliseconds to a standard duration string.
  • @hapi/joi-dateJoi extension for dates
  • cldrLibrary for extracting data from CLDR (the Unicode Common Locale Data Repository)
  • @blueprintjs/datetime2Re-exports of @blueprintjs/datetime APIs
  • datetimeDate and time formatting
  • cron-fastFast and tiny JavaScript/TypeScript cron parser with timezone support - works in Node.js, Deno, Bun, Cloudflare Workers, and browsers. Zero dependencies.
  • metascraper-dateMetascraper rule to extract the date from HTML using Open Graph, JSON-LD, and fallback selectors.
  • node-datetimeExtended Date object for javascript. 1. Handles offests by days and hours. 2. Built-in formatting function. 3. Time based value calculation.
  • @countrystatecity/countriesOfficial countries, states, and cities database with iOS/Safari support and minimal bundle size
  • moment-roundDate rounding for Moment.js
  • moment-strftimemoment-strftime adds strftime to Moment.js
  • excel-date-to-jsConvert Excel date in integer format into JS date. Dates are stored as numbers in Excel and count the number of days since January 0, 1900 (1900 standard, for mac it is 1904, which means January 0, 1904 is the start date). Times are handled internally as
  • browser-interaction-time<p align="left"> <img src="https://raw.githubusercontent.com/atlassian/browser-interaction-time/master/bit.png" width="200" /> </p>
  • date-virEasy and explicit dates and times.
  • libphonenumber-geo-carrierThis library includes the geocoding, carrier mapping and timezone mapping functionalities that are available in some of googles libphonenumber libraries but not in libphonenumber-js (a port of libphonenumber).
  • date-fns-holiday-usThe purpose of this project is to give an interface to work with holidays using date-fns
  • time-cacheA key-value cache that puts a expiry date on its entries.
  • cron-expression-validatorValidate cron expressions
  • jest-dateCustom jest matchers to test dates
  • nepali-date-converterA small Javascript/Typescript Library to convert English Date to Nepali and Vice Versa.
  • moment-business-timeQuery and manipulate moment objects within the context of business/working hours
  • @js-joda/locale_enprebuilt js-joda locale package for locales: en.*
  • country-list-jsCountry data for 250 countries and territories: ISO 3166-1 codes, names, capitals, currencies, dialing codes, subdivisions, borders and IANA time zones. No dependencies.
  • twixTwix.js allows you to work with date ranges
  • moment-timezone-allParse and display moments in any timezone.
  • decap-cms-widget-datetimeWidget for editing dates and times in Decap CMS.
  • @abp/luxonABP Framework is a complete open-source infrastructure to create modern web applications by following the best practices and conventions of software development. This package is a part of the [ABP Framework](https://abp.io) and contains client-side files.
  • @abp/momentABP Framework is a complete open-source infrastructure to create modern web applications by following the best practices and conventions of software development. This package is a part of the [ABP Framework](https://abp.io) and contains client-side files.
  • dayjs-ext2KB immutable date time library alternative to Moment.js with the same modern API
  • jewish-dateConverts Gregorian dates to Hebrew dates and vice versa.
  • netlify-cms-widget-dateWidget for editing dates in Netlify CMS.