How to use Date, Start time and time interval Field
Hi all,
I'm having problems working out how create an appointment based on a date, start time and time interval.
For example.
I would like to book in a meeting by putting in the date, Start time and how long the meeting will go for (time interval). I have it set that once I input the data, I click a button and it will create the appointment and put it in the calendar.
Date = 4/4/22
Start time = 10am
Time interval = 1 Hour
Ive watched a youtube video on the subject but did not find any answers.
4 replies
-
Take a look at this post for a possible solution:
-
Admin said:
My solution was the following:
let dS := Date + 'Finish Time'; let dF := Date + 'Start Time'; 'Massage Booking' := appointment(dS, dF)
For some reason dS was putting the time as the finish time and dF was putting it as the start time.
Not entirely sure why but it worksYour code shows that you put 'Finish Time' for dS and 'Start Time' for dF, that is why your times are switched. Unless what you typed in this forum is different then what you have in your DB.
Content aside
- 2 yrs agoLast active
- 4Replies
- 262Views
-
2
Following