10 Best Vanilla JavaScript Date Libraries

List hand-picked by Openbase Experts
Learn More

fec

Lightweight and simple JS date formatting and parsing

7.4M
2K
Built-in
MIT
date-fns

⏳ Modern JavaScript date utility library ⌛️

16.3M
31.2K
Built-in
MIT
day

⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API

15M
42.6K
Built-in
MIT
ms

Tiny millisecond conversion utility

203M
4.4K
DefinitelyTyped
MIT
moment

Parse, validate, manipulate, and display dates in javascript.

21.1M
47.1K
Built-in
MIT
dj

Date() for humans

198K
1.5K
No support
MIT
mom

Abstraction over common javascript date management libraries

1.4M
633
Built-in
MIT
tj

🕗 ⌛ timeago.js is a tiny(2.0 kb) library used to format date with `*** time ago` statement.

153K
4.8K
No support
MIT
dat

DateJS: Evolved. An updated, bug fixed, and actively maintained continuation of DateJS

33.1K
351
DefinitelyTyped
MIT
df

Abstraction over common javascript date management libraries

1.6M
633
Built-in
MIT
jd

Get a date with JavaScript! A datepicker with no dependencies.

17K
283
No support
MIT
da

Get a `datetime` attribute for the HTML `<time>` element (and others).

59
15
Built-in
WTFPL
Description
Author
License
Type Definitions
ESM Support
Tree Shakeable
Popularity
Downloads/wk
GitHub Stars
Reviews
User Rating
Voted Good Docs
Voted Easy of Use
Voted Performant
Top Positive Review
Top Negative Review
Issues
Total Issues
Open Issues
Avg Time to Close
Pull Requests
Total Pull Requests
Open Pull Requests
Avg Time to Merge
Community
Maintainers
Contributors
Contributors with 3+ commits
Top Committers
GitHub Forks
Versions
# of Versions
Latest
Next
Beta
Newest
Oldest
Major Every
Minor Every
Patch Every
Dependencies
Dependencies
Dev Dependencies
Links
More Info
README
Tutorials
Install Command
There's Nothing Here
No packages are selected.
Select a few packages to compare.