Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Task Due Date - Day and Time Formatting in MS Flow

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? 



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. 


Community Support Team
Community Support Team

Re: Task Due Date - Day and Time Formatting in MS Flow

Hi @buildingblocks,


Could  you provide a screenshot of your current Flow configuration? 

If you know the UTC time of your time zone, you could use addHours() function to add the corresponding hours difference based on the time you have formatted the time to 09:30. This will ensure that the Reminder Date time is on Outlook task displayed as 9:00 am, like:

addHours(formatDateTime(addDays(addDays(‘Start date’),3),-1),'yyyy-MM-ddT09:30:00Z'),6)

I don't know that you how to set the start date here, so I used Compose to set a date. The time zone is UTC-6, so it adds six hours.


Please take a try and free feel let me know if you have any question.


Best Regards,


Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Level: Powered On

Re: Task Due Date - Day and Time Formatting in MS Flow

I am trying to do something similar. There is a field [ProposalDueDate] that is filled in when the item is created. I need the field [EstimateDueDate] (which is hidden) to calculate off the [ProposalDueDate] with a result of 5 days prior. If it is possible to be 5 working days I want that.

Helpful resources


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 104 members 5,416 guests
Please welcome our newest community members: