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 :
Power Automate - Building Flows
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

 

I have the same question (0)
  • ScottShearer Profile Picture
    25,268 Most Valuable Professional on at
    Re: convert time format into string

    @Fishermen 

    Have you tried using a formatDateTime() expression?

     

  • Verified answer
    Fishermen Profile Picture
    20 on at
    Re: convert time format into string

    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

Coming soon: forum hierarchy changes

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
Tomac Profile Picture

Tomac 544 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 482 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 287

Last 30 days Overall leaderboard