web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard