I'm making a calendar using MySQL, html, JS and PHP.
This calendar is for reserving the ballroom here in the building.
There may be two reservations the same day, morning and afternoon that would be "00:00 to 11:59" and "12:00 to 23:59".
My question:
I would like a suggestion for the best way to do this, I have already thought about doing with two fields date
and the other time .
I also wondered if you can use datatime
, timestamp
.
Any tips or suggestions?