05-05-2023, 04:06 PM
(05-05-2023, 02:45 PM)AnelkasBeard Wrote: You'd just have to use a combination of IF statements based on the data set. So if saturday do this, if sunday do this etc
Yes you're using Weekday() to check day of the end date and also calculating the number of minutes the end date is after midnight up til six to calc the uplift (if any). Add to that the number of minutes from the start date to midnight and any minutes in the end date after six am and you're there.
