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

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

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 251 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 201 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard