I am building a reservation system for hotels. I have in the database a reservation date, that unfortunately has a time aspect associated with it.
I do not want to have time associated with the reservation as it would not be requested at the time a user would create a new reservation.
Additionally the time portion is causing me distress when trying to put together a condition for the page to display reservations. I am trying to create a repeating group that displays the arrivals for the day, however all the conditionals that I am using also have time attached to the date so I am unable to perform a simple conditional that says:
if the reservation check-in date is greater than current date don’t show
if the reservation check-in date is less than current date don’t show
This should in theory provide a result of reservations that have a check-in date of the current date. However, because of the time connection I can’t display arrivals correctly.
Anyway to only have date and no time connected to it? The time portion is messing everything up for me.