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

Community site session details

Session Id : 3WK6sa5ym0emc5H2w6+hGX
Power Automate - General Discussion
Answered

Format SharePoint DateTime column in Power Automate

Like (0) ShareShare
ReportReport
Posted on 4 Jun 2020 18:10:54 by 1,091

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.

I have the same question (0)
  • kinghnvn Profile Picture
    on 10 Oct 2022 at 22:18:01
    Re: Format SharePoint DateTime column in Power Automate

    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.

  • rameshmukka Profile Picture
    1,091 on 04 Jun 2020 at 18:32:29
    Re: Format SharePoint DateTime column in Power Automate

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

  • Verified answer
    Krishna92 Profile Picture
    Microsoft Employee on 04 Jun 2020 at 18:19:35
    Re: Format SharePoint DateTime column in Power Automate

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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 725 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 363 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 341

Last 30 days Overall leaderboard