Hi, I'm relatively new to using Microsoft Flow.
Let's say the current date is 21/09/22.
I want to get the date & time for tomorrow at 10am, so it'll look like 22/09/22 10am. It always has to be 10am the next day.
So far, I've got this:
The result came out like this:
2022-09-22 10
And it needs to look something like this:
Thanks, managed to get it working, although the solution is rather weird and doesn't make sense....
Like what the recommendations suggested in that link, I created a Compose:
I then converted the timezone and the weird thing here is that I'm using exactly the same source and destination timezone, which to me seems pointless because there's "no conversion" done essentially:
I then use that output for my end time for my Outlook automatic reply:
And that worked. However, it's pretty much the same result as what I had before, prior to all this timezone conversion stuff. If I take out the timezone conversion, the result is incorrect. If I change the source timezone to UTC+0, the result is also incorrect. So somehow, setting the exact same source timezone fixes the issue, which is weird. Oh well, it works.
I was also going to just change the time from e.g. 10:00 (10am) to 22:00, but I felt that it's a crappy solution.
@Anonymous
Check this previous post.
Similar to your case.
My Flow basically updates the Outlook automatic reply with a start and end time.
I'm not sure why, but the start time and end time are correct in Flow, yet they the end time in my Outlook automatic reply is showing 10pm instead of 10am. What am I doing wrong here?
Hi @Anonymous ,
Glad to see you solved the issue.
Please consider marking the correct reply as a solution and it will close the case. Thanks.
Best Regards,
Wearsky
Sorry, one more question, how can I convert it to my local timezone? I've tried this but the result comes out with the incorrect time:
Thanks, I literally just figured it out last minute too:
Thanks for your help!
Instead of concatenating there
Use this
formatDateTime(addDays(utcnow(),1),'dd-MM-yyT10:00:00.5436463Z')