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 / Copilot Studio / Date Time format in PVA
Copilot Studio
Unanswered

Date Time format in PVA

(0) ShareShare
ReportReport
Posted on by 80

Hi,

 

I am having a date time variable in PVA, but it only read in MM/DD/YY, and I want to change it to read DD/MM/YY, how can I do that?

For example, user input 10/9/2021, PVA read as 9 October 2021, but I want it to be 10 September 2021.

 

I will use the PVA to check whether the user input date is before or after the cutoff date.

 

Thanks!

Categories:
I have the same question (0)
  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Hi @R_KW ,

     

    You'll need to validate it using a Power Automate workflow.

    Follow below three links related to the formatting date value using a flow, but if you have any questions, let us know: 

     

    Solved: Re: Formatting Date And time in MS Flow - Power Platform Community (microsoft.com)

    Solved: How to change Flow date from YYYY-DD-MM to DD-MM-Y... - Power Platform Community (microsoft.com)

    How to customize/format Date and Time values in a flow (microsoft.com)

  • R_KW Profile Picture
    80 on at

    Thanks for the response @renatoromao ,

    I tried to use "formatdatetime()" but it seems just changing the way to show the date, but not changing the way to read the date. 

    For example, formatdatetime(10/9/2021, 'dd/mm/yyyy'), it just return 9/10/2021 (9 Oct 2021), but what I really want is 10/9/2021 (10 Sept 2021).

  • Jcook Profile Picture
    7,781 Most Valuable Professional on at

    Hi @R_KW 

     

    For defining the date format,

    dd = day

    MM = Month

    yyyy = year

     

    Check out my post on formatting date:

    https://flowaltdelete.ca/2020/10/15/converting-time-zones-easily-in-power-automate/

  • cabata Profile Picture
    314 Most Valuable Professional on at

    hi @R_KW  also if you want in a expression you can use this:  How to get a date in "MM/dd/yyyy" format in Microsoft Power Automate - YouTube

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 > Copilot Studio

#1
Valantis Profile Picture

Valantis 572

#2
Haque Profile Picture

Haque 154

#3
chiaraalina Profile Picture

chiaraalina 144 Super User 2026 Season 1

Last 30 days Overall leaderboard