web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Calendar of events sho...
Power Automate
Unanswered

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

 

Categories:
I have the same question (0)
  • v-zhoqian-msft Profile Picture
    Microsoft Employee on at

    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.

     

  • LWhit Profile Picture
    28 on at

    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

    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

    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

    Hi @LWhit ,

    Is there any error message?

  • LWhit Profile Picture
    28 on at

    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.'.

  • Verified answer
    v-zhoqian-msft Profile Picture
    Microsoft Employee on at

    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.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard