Forum Discussion
QuickBaseCoachD
6 years agoQrew Captain
Eli,
Can you tell me your formula for your end date/time? It seems to me from your post that you made a formula for the start date/time when you wanted to make a formula for the end date/time.
Can you tell me your formula for your end date/time? It seems to me from your post that you made a formula for the start date/time when you wanted to make a formula for the end date/time.
- EliCorp6 years agoQrew TraineeThank you so much! This worked like a charm!! For future reference for anyone else who needs help with this, here's what I did.
My Form:
Start Date And Time:
End Date & Time
Calendar Events Report:- AndrewFry6 years agoQrew Assistant CaptainEli,
I just wanted to say thanks for posting how you were able to achieve success. I needed something very similar and your post helped me get to my goal.
Thanks!!
------------------------------
Andrew Fry
------------------------------
- EliCorp6 years agoQrew TraineeHi Coach,
Please forgive me, I am new to Quickbase and formulas, so I appreciate your help. Right now it's a lot of trial and error.
I don't have a set 'end time' on my form. I use a duration on my form.
I have a beginning time of the appointment, and an entry for the duration of the appointment. And I need the calendar to block that time for the client from beginning to end of the appointment.
This is my duration field that is on the form. It is numeric.
This is my Duration Formula, which is just pulling the Total Duration (so I guess it's basically redundant)
And this is my formula I'm trying to use to block of the time on the calendar.
The start time is a formula combining the Date of Appointment field from my form and the separate Time of Appointment field. Hope that makes sense... - QuickBaseCoachD6 years agoQrew CaptainWhen you set up the calendar report it is looking for the two fields to use for the start and the end of the appointment.
So you will want to have a Time stamp formula date/time field for the start of the appointment which combines the start date and start time, and then formula date/time field for the end date time.
The start date/formula would be called perhaps [Start Date/Time]
ToTimestamp([Date of Event], [Time of Event])
[Start Date/Time] + Hours([Total Duration])