'How to get dates and hours from a ReactJS Form?

I need to get some user information from a Form built using ReactJS and React Bootstrap.

The user information I need to get from the Form are the days and the hours he worked.


E.g.:

21/01/2022 - from 09:00 to 16:00 and from 19:00 to 21:00

24/01/2022 - from 11:00 to 16:00

27/01/2022 - from 09:00 to 13:00 and from 17:00 to 20:00

...and so on

How can I built a ReactJS Form (maybe using React Bootstrap) to get this user info?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source