Hi, I need help with a desk booking app. I have a choice column in a SharePoint list.
The name of the choice column is 'Desks' is values are:
'Desk 1', 'Desk 2', 'Desk 3', 'Desk 4', 'Desk 5', 'Desk 6', 'Desk 7', 'Desk 8', 'Desk 9', 'Desk 10', 'Desk 11'.
I read the Desks into a datacard dropdown.
I have another choice column in the same SharePoint list, it is called Start_Time, it's values are as follows:
'05:00', '06:00', '07:00', '08:00', '09:00', '10:00'.
I have another choice column in the same SharePoint list, it is called End_Time, it's values are as follows:
'05:00', '06:00', '07:00', '08:00', '09:00', '10:00'.
So I read the times into a datacard dropdowns for the Start_Time and End_Time.
So I first check which desk is booked before I allow the booking so at to prevent duplicate bookings.
So if 'Desk 1' is booked from '05:00' to '09:00', it will not appear in the datacard that is showing the Desks if the user selects the Start_Time '05:00' and End_Time '09:00'.
But if the user selects Start_Time '09:00' to End_Time '10:00', then 'Desk 1' should appear. So for me to test the SharePoint list. I want to add one minute to the Start_Time '09:00' (must become '09:01') and End_Time '10:00' (must become '10:01').
This is for when I check for duplicates.
Can you please tell me how can I add a minute to the choice value in the datacard value.
Or is there a better way of doing this?