Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Calendar of events showing wrong time after time change

(0) ShareShare
ReportReport
Posted on by 28

Hi all

 

I have a flow that gets, among other things, daily calendar items and puts them into a HTML table then emails it. After the clocks have changed recently, the time is one hour out on the events. I've tried converting the timezone but then I'm not sure how to get this into the table instead of the original times. Does anybody have a solution to this?

 

LWhit_0-1681373924239.pngLWhit_1-1681373944354.png

 

  • Verified answer
    v-zhoqian-msft Profile Picture
    Microsoft Employee on at
    Re: Calendar of events showing wrong time after time change

    Hi @LWhit ,

    Try this:

    convertTimeZone(item()?['start'], 'GMT Standard Time''W. Europe Standard Time''t')
    convertTimeZone(item()?['end'], 'GMT Standard Time''W. Europe Standard Time''t')
     
     
     

    Best regards,

    Community Support Team _ habsburg Qian

    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • LWhit Profile Picture
    28 on at
    Re: Calendar of events showing wrong time after time change

    Hi, yeah there is, seen below. It's been the same for both ways - saying that there's NULL. To confirm, there are calendar items that it should be returning, as just using the basic start time returns them but with the incorrect time

     

    The execution of template action 'Create_HTML_table_2' failed. The column values could not be evaluated: 'The template language function 'convertTimeZone' expects its first parameter to be a string that contains the time. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#ConvertTimeZone for usage details.'.

  • v-zhoqian-msft Profile Picture
    Microsoft Employee on at
    Re: Calendar of events showing wrong time after time change

    Hi @LWhit ,

    Is there any error message?

  • LWhit Profile Picture
    28 on at
    Re: Calendar of events showing wrong time after time change

    Hmm, still no luck. I've tried what you have suggested and convertTimeZone(item()?['Start time'], 'GMT Standard Time', 'W. Europe Standard Time', 't')

     

    Time changes just have to mess it up!

  • v-zhoqian-msft Profile Picture
    Microsoft Employee on at
    Re: Calendar of events showing wrong time after time change

    Hi @LWhit ,

     

    According to your picture, it may be convertFromUtc(item()?['Start time'], 'time zone name')

     

     

    Best regards,

    Community Support Team _ habsburg Qian

    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • LWhit Profile Picture
    28 on at
    Re: Calendar of events showing wrong time after time change

    Thanks, I've taken a look at that but unsure how to get start time into that? The example includes a static time so unsure how to make that work

  • v-zhoqian-msft Profile Picture
    Microsoft Employee on at
    Re: Calendar of events showing wrong time after time change

    Hi @LWhit ,

     

    I suggest you use "convertFromUtc" in "Create html table" to convert time, instead of using "Convert time zone" control.

    You could refer to the following link:

    Reference guide for expression functions - Azure Logic Apps | Microsoft Learn

     

     

    Best regards,

    Community Support Team _ habsburg Qian

    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow