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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Format SharePoint Date...
Power Automate
Answered

Format SharePoint DateTime column in Power Automate

(0) ShareShare
ReportReport
Posted on by 1,121

I have a flow where am trying to format SharePoint DateTime column "Schedule" into below format.

 

Tuesday, 23 June 2020 3:00 PM

 

So I have used the expression formatDateTime(triggerBody()?['Schedule'], 'dddd, dd MMMM yyyy HH:mm tt') which is giving me 

 

Tuesday, 23 June 2020 09:30 AM. I understood it is sending me UTC time but I require in IST which would be 3:00 PM.

 

So I changed my expression to convertFromUtc(triggerBody()?['Schedule'], 'India Standard Time, 'dddd, dd MMMM yyyy HH:mm tt'') which is giving me the result Tuesday, 23 June 2020 15:00 PM. But here I want 3:00 PM not 15:00 PM. How should my expression look like to get Tuesday, 23 June 2020 3:00 PM.

Categories:
I have the same question (0)
  • Verified answer
    Krishna92 Profile Picture
    Microsoft Employee on at

    @RameshMukka 

     

    Please change the expression as below

     

    convertFromUtc(triggerBody()?['Schedule'], 'India Standard Time, 'dddd, dd MMMM yyyy hh:mm tt'')

     

    This will give you time in 12 hour format

     

    If this information helps you with resolution, please consider giving a thumbs up and mark the solution as resolved.

  • rameshmukka Profile Picture
    1,121 on at

    @Krishna92  Thank you so much. This is now working.

  • kinghnvn Profile Picture
    on at

    I tried your code:

    convertFromUtc(triggerBody()?['Schedule'], 'India Standard Time, 'dddd, dd MMMM yyyy hh:mm tt'')

     

    but it shows below message, pls advise.

    The expression is invalid.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard