I have a Leave Request form, with date fields for full day vacation requests (Start Date and End Date) and separate datetime fields for partial days (DateTimeStart and DateTime End).
When a person requests full days, I'd like to calculate the number of vacation hours they are taking, based on the number of days between the Start Date and End Date, assuming there are 8 vacation hours for each calendar day that is not a weekend or holiday.
When a person requests partial days, the hours requested calculation will be based on DateTime fields, so hopefully that calculation will be easier.
The form is using the Modern Layout designer.
Thank you for any suggestions and assistance.