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
Answered

Conversion of date

(0) ShareShare
ReportReport
Posted on by 164

Hi all, i have this value in excel "3/2/2022 12:00:00 AM". How can i use PAD to convert this format to 2 March 2022?

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

    Hi,
    How about you try 'Run PowerShell script' action?

     

    Regards,
    kinuasa

     

    PowerShell-DateConvert.png

     

    SET StrDate TO $'''3/2/2022 12:34:56 AM'''
    Scripting.RunPowershellScript Script: $'''Write-Output ([DateTime]\"%StrDate%\").ToString(\"d MMMM yyyy\", [cultureinfo]\"en-US\")''' ScriptOutput=> PowershellOutput ScriptError=> ScriptError
    Display.ShowMessageDialog.ShowMessage Message: PowershellOutput.Trimmed Icon: Display.Icon.None Buttons: Display.Buttons.OK DefaultButton: Display.DefaultButton.Button1 IsTopMost: True ButtonPressed=> ButtonPressed
    
    # [ControlRepository][PowerAutomateDesktop]
    
    {
     "ControlRepositorySymbols": [],
     "ImageRepositorySymbol": {
     "Name": "imgrepo",
     "ImportMetadata": {},
     "Repository": "{\r\n \"Folders\": [],\r\n \"Images\": [],\r\n \"Version\": 1\r\n}"
     }
    }
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
  • Verified answer
    UK_Mike Profile Picture
    on at

    Convert Datetime to text action.

    Custom output.

    dd/MMMM/yyyy

     

     

     

    Screenshot 2022-05-10 154136.png

  • Alphadrag Profile Picture
    164 on at

    Hi, if i got 9:00, how can i convert it to 09:00? This is time.

     

    9:00 is being stored as a text in excel

  • VJR Profile Picture
    7,635 on at

    Use "Convert datetime to text" and in the Custom format provide hh:mm

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