cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Time off request flow off by one day on calendar

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?

4 REPLIES 4
Pstork1
Dual Super User
Dual Super User

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.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Anonymous
Not applicable

That's great!  How do I get it to correctly populate on the calendar?

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.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

 

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.

Like:

38.PNG

 

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.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (6,199)