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 Date Time Format
Power Automate
Answered

Convert Date Time Format

(0) ShareShare
ReportReport
Posted on by 73

I run a desktop flow that get date from excel file and want to input it to a date picker in google form. 
I have a hard time convert the date to the format in date picker in google form.

The date format I get from excel : 1st May 2021

The date format google form require : 1-May-2021

 

Is that anyway I can convert the date? Or is that any formula/expression can perform this conversion? 

  • VJR Profile Picture
    7,635 on at

    Hi @NeohLooi 

     

    Can you take a look at my similar post here.

    That should be able to help you achieve what you are looking for.

  • Kresimir_RPA Profile Picture
    286 on at

    You can use action called Convert datetime to text and then use custom format d-MMM-yyyy.

     

    datePADforum.JPG

     

    Regards,

    Krešimir

  • NeohLooi Profile Picture
    73 on at

    I tried this solution, but PAD do not identify 1st May 2021 as a valid date format, the error mentioned it nots a valid date format.

  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    Look at the article posted by @VJR

     

    him and I both posted different ways you can replace text to get rid of the “st, nd, rd, or th”. 

  • NeohLooi Profile Picture
    73 on at

    I just found out when the month is August, due to the replace text action, it become Augu at the end. Any solution can avoid this issue?

  • VJR Profile Picture
    7,635 on at

    Hi @NeohLooi

     

    That's a good find.

     

    st comes only for 1st, 21st, 31st.

    So in the replace add 1st. But add back the 1 after replacing with blank.

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
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard