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 Automate
Unanswered

Date format

(0) ShareShare
ReportReport
Posted on by 28

Hii,

 

i face dificulties when i want to change date format . i have date format in excel 

05-07-2023 18:49
06-07-2023 10:07

in this format i want to only date like 05-07-2023, remove time . how to convert in power automate desktop. please guide.

 

Regards,

Supriya

I have the same question (0)
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Well, you can use Replace text with regular expressions enabled and replace \s.* (which represents an empty space followed by any characters) with %""% (which represents an empty string) to remove the timestamp and keep the date only.

     

    If it is recognized as a date by PAD, you could also use Convert date time to text and convert it to a custom format using dd-MM-yyyy as the format.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • supriya22 Profile Picture
    28 on at

    Hii, 

    how to call specific column for changing date format. i have 90 columns in excel i want to change J column date format, how to call for that. please guide,

     

    regards,

    supriya kare

  • UshaJyothiKasibhotla Profile Picture
    225 Moderator on at

    if you are looping through the excel you get current item in for each

     

    you can write  %currentitem[j]%

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    You will either need to process them all one by one in a loop, or you could also process it as a list.

     

    If you use Read from Excel worksheet to get your data into a data table (read a range and not a single cell), then you can use Retrieve data table column into list to get a single column into a list variable. You should then use Parse text with regular expressions enabled. Use the following pattern: (\d{2}-){2}\d{4} and make sure that you set it to return all occurrences and not just the first one.

    This will return all strings that are formatted as ##-##-#### into a list of matches. You can then write this back to your Excel column with a single Write to Excel worksheet action.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 245

#2
David_MA Profile Picture

David_MA 216 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 212

Last 30 days Overall leaderboard