cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
zkarj
Level: Power Up

Converting time formats

I am constructing a Flow to copy new Outlook Calendar appointments to a Google Calendar.

 

The "Convert time zone" block is giving me trouble because it is outputting incorrect values and is not even consistent in its incorrectness. I'm using it to reformat Outlook's time stamp to one suitable for Google. It should not alter the actual time.

 

My first block deals with the start time and despite my specification to convert "from UTC to UTC" it SUBTRACTS 12 hours from the time.

Run History 1.pngStart time
Then my second block processes the end time with the SAME parameters but this one ADDS 12 hours to the time.
Run History 2.pngEnd time
My timezone is UTC+12+1 (daylight saving) so the 12 may have some basis in my location, but it's not even consistent in which direction it goes within a single Flow execution.
 
The only good thing about this is my Christmas lunch will be 25.4 hours long. 😉
1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Converting time formats

 

Hi @zkarj ,

 

Please try to change hh to HH.

 

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.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Converting time formats

 

Hi @zkarj ,

 

Please try to change hh to HH.

 

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.

View solution in original post

zkarj
Level: Power Up

Re: Converting time formats

Ohhh! Well spotted, thanks!

 

I have made the changes and will see how it goes. I expect that will sort it out.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,999)