I have created a Flow that generates a task. The Task due dates uses the addDays() expression. That is working as intended.
I also want to create a Reminder with both a predefined date and time value. The reminder should be one day before the due date at 9:30 am local time. The function below is working with the exception the time outputted in Outlook task is UTC time, five hours behind. How do I ensure that the time is shown as 9:30 am?
formatDateTime(addDays(utcNow(),2,'yyyy-MM-ddT09:30:00'))
Additionally, is there an expression that can be written for the reminder field on the task that subtracts one day form the due day field. The way the current expression is written is that I've just added one less day that what I put in the due date expression. It would be nice if the reminder field could auto calculate and subtract one day from what ever was in the due date expression.