Description
react-datetime is a React component that combines a date picker and a time picker, so you can select a date, a time or both. The README calls it lightweight but complete, and says it is highly customisable, including the ability to edit the milliseconds of a date. It can be used as a date picker, a time picker or a combined date and time picker in one component. The README covers installation, usage, the component's API, an imperative API for controlling it from code, and internationalisation for different languages and date formats. The project notes that it returns to its roots, and that it was sponsored for a long time by YouCanBook.me, a scheduling tool. react-datetime suits React developers who need a booking, scheduling or form field for dates and times, and who want to control the format and language. Check the README's internationalisation section if your users use a different locale.…
Highlights
- Date picker, time picker or both
- Highly customisable, including milliseconds
- Imperative API for code control
- Internationalisation support
Ratings & Reviews
No ratings yet
Be the first to rate react-datetime.
People also visit
react-datetime FAQ
What is react-datetime?
A React component that works as a date picker, a time picker or both.
Can I edit milliseconds?
The README says the component allows editing a date's milliseconds.
Does it support other languages?
Yes. The README has an internationalisation section.
Is there an imperative API?
Yes. The README documents one for controlling the picker from code.
How do I install it?
Follow the installation section of the README.
What are the best react-datetime alternatives?
Popular alternatives to react-datetime include @react-native-community/datetimepicker, react-day-picker and datetime-picker. See all react-datetime alternatives














