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 / convert time format in...
Power Automate
Answered

convert time format into string

(0) ShareShare
ReportReport
Posted on by 20

I am trying to read the time format and convert it into a simple string, to use for a ics Calendar format. time format in string a.jpg

 

my goal would be to get a string that looks like this: 20220404T160100Z

 

here is the raw output of my compose:

Kinjal_iTalent_0-1649241826714.png

 

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,280 Most Valuable Professional on at

    @Fishermen 

    Have you tried using a formatDateTime() expression?

     

  • Verified answer
    Fishermen Profile Picture
    20 on at

    used the following, and it worked fine

    Replace(replace(triggerOutputs()?['body/testdate'],'-',''),':','')

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 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard