Day.js
2kB JavaScript date utility library.
License model
- Free • Open Source
Platforms
- Online
- Node.JS
Features
No features, maybe you want to suggest one?
Suggest and vote on featuresNo comments or reviews, maybe you want to be first?
Post comment/reviewDay.js information
AlternativeTo Category
DevelopmentGitHub repository
- 46,634 Stars
- 2,280 Forks
- 997 Open Issues
- Updated Sep 12, 2024
What is Day.js?
Fast 2kB alternative to Moment.js with the same modern API
Why Day.js? 2kB
Less JavaScript to download, parse and execute, leaving more time for your code. Simple
Day.js is a minimalist JavaScript library that parses, validates, manipulates, and displays dates and times for modern browsers with a largely Moment.js-compatible API.
If you use Moment.js, you already know how to use Day.js. Immutable
All API operations that change the Day.js object will return a new instance instead.
This helps prevent bugs and avoid long debugging sessions. I18n
Day.js has great support for internationalization. But none of them will be included in your build unless you use them.