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 / How to remove first co...
Power Automate
Answered

How to remove first colon from : 4/2/2021 4:34:55 PM and keep rest date as it is

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Team,

 

I am looking for an solution to remove only first colon from my this string " : 4/2/2021 4:34:55 PM", when I use replace ();,':','') it replaced all colon with time and i am unable to update the date and time in desired format in SharePoint.

Categories:
  • Verified answer
    DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @Pratik117 

     

    How about just using substring? Assuming it always start ": " why don't you use substring(outputs('Compose'),2)

     

    DamoBird365_0-1614877235537.png

     

    Damien

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard