cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lknudson1
Advocate II
Advocate II

Text(date,"mm/dd/yy") in flow export to excel in one drive

I have a flow that exports a csv file to one drive via flow as spreadsheet.

I have dates I want formatted as "mm/dd/yy", so I put date field in as Text(datefield,"mm/dd/yy")

When I open the created excel file, it shows  "2/2/2022".

I expected "02/02/22".

When I export field as "mmm/dd/yy" it shows "Feb/01/22".

 

Any idea why mm/dd/yy does not work, but mmm/dd/yy does?

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @lknudson1 ,

This is about Excel opening a CSV (nothing to do with Power Apps) - you need to change your Regional Format in there.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

View solution in original post

3 REPLIES 3
lknudson1
Advocate II
Advocate II

quick follow-up:

Text(datefield,"yy/mm/dd") works fine.  The February 2, 2022 date exports as "22/02/02".

Why not "mm/dd/yy"?

 

WarrenBelz
Super User
Super User

Hi @lknudson1 ,

This is about Excel opening a CSV (nothing to do with Power Apps) - you need to change your Regional Format in there.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

Thanks.  I see that now.

 

Helpful resources

Announcements
Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (2,043)