0
Combining two dates fields into single appointment field
Today I have Start and End date fields and I'd like to leverage the appointment field so I need to write a script that will combine them. However the format to do for the appointment field hasn't been very clear to me. I'm fine with setting the time to 00:00 since really the are all day events anyways. Has anyone ever done this before for some guidance?
1 reply
-
Holly M
Try this:
AppointmentField := appointment(datetime(date(Startdate), time(0, 0)), datetime(date(Enddate), time(23, 59)))
Content aside
- Status Answered
- 2 yrs agoLast active
- 1Replies
- 49Views
-
2
Following