10 Best Vanilla JavaScript Date Libraries

List hand-picked by Openbase Experts
Learn More

date-fns

⏳ Modern JavaScript date utility library ⌛️

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.7/ 5
173
Top Feedback
34Great Documentation
33Easy to Use
22Performant
GitHub Stars
28K
Weekly Downloads
12M
Last Commit
2mos ago
day

dayjs

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.7/ 5
182
Top Feedback
33Easy to Use
31Great Documentation
26Performant
GitHub Stars
37K
Weekly Downloads
8M
Last Commit
1mo ago

ms

Tiny millisecond conversion utility

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.7/ 5
3
Top Feedback
5Easy to Use
2Great Documentation
GitHub Stars
4K
Weekly Downloads
137M
Last Commit
2mos ago
fec

fecha

Lightweight and simple JS date formatting and parsing

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
6M
Last Commit
3mos ago

moment

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.3/ 5
593
Top Feedback
76Great Documentation
73Easy to Use
44Performant
GitHub Stars
46K
Weekly Downloads
18M
Last Commit
1yr ago
mom

@date-io/moment

Abstraction over common javascript date management libraries

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
1Responsive Maintainers
GitHub Stars
481
Weekly Downloads
591K
Last Commit
3mos ago
tj

timeago.js

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.3/ 5
3
Top Feedback
N/A
GitHub Stars
5K
Weekly Downloads
274K
Last Commit
1yr ago
dat

datejs

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.0/ 5
1
Top Feedback
1Easy to Use
1Poor Documentation
GitHub Stars
348
Weekly Downloads
24K
Last Commit
5yrs ago
df

@date-io/date-fns

Abstraction over common javascript date management libraries

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
481
Weekly Downloads
856K
Last Commit
3mos ago
dj

date.js

Date() for humans

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
227K
Last Commit
3yrs ago
tj

timezone-js

DEPRECATED: Timezone-enabled JavaScript Date object. Uses Olson zoneinfo files for timezone data.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
TypeScript Icon
Deprecated
User RatingN/A
Top Feedback
N/A
GitHub Stars
829
Weekly Downloads
28K
Last Commit
5yrs ago
jd

js-datepicker

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
249
Weekly Downloads
7K
Last Commit
1yr ago
dat

DatePicker

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
176
Last Commit
N/A