I am trying to make an appointment/booking application on Meteor and am facing some date/time issues. I am thinking of writing that logic from scratch and need help from you lovely people
Q1) How do i make sure all Date/times are in UTC ?
Q2) I have made some time slots a user can select from (like below):
- 9:00 - 9:59
- 10:00 - 10:59
These slots are selected on user end and the time i get is based on his browser/computer, how do i make all these sync together?
In addition i have to make sure a user doesn’t book an appointment in the same slot which is already booked by another client.
I would really appreciate any pointers.