Hello - I have a Time Off Request flow that was built prior to me joining the company and I noticed that when the Time Off Request is approved it adds the time off to the calendar one day before the actual scheduled time off. How can I ge this corrected to populate correctly on the calendar?
I just had this conversation with someone else. The issue revolves around timezone support. When you save a DateOnly field in a SharePoint list or an Excel spreadsheet it always saves as a DateTime value. Even if you tell it to be date only it will add a time field when saving it. That timefield gets set to midnight if you don't set it explicitly. And its stored in UTC timezone. When you then call it up and display it it will display based on a conversion to the local user's timezone. If your timezone is after UTC then it will display as the previous day because the time portion will be several hours earlier. So instead of midnight on a specific day it may be 10:00 PM the previous day.
In general the easiest way is to make sure that you include a time component set to NOON when you save a Date. That will cover about half of the world in terms of timezones.
Hi @Anonymous ,
Depending on your description, perhaps you could consider using Add to time action to increase the time the Flow gets to a day to become your expected Date.
Keep up to date with current events and community announcements in the Power Automate community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!