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
    797 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard