Two digit year date format

BobZZ

New Member
Joined
Dec 30, 2016
Messages
3
I need to be able to take a US date that displays as 2023-01-03 (ie YYYY-MM-DD) as 01/03/23 (ie mm/dd/yy). Such a simple thing normally but I can't find a solution in power query to keep it as a date but have the format I want.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
As you've discovered, you cannot change the date format in Power Query. There are only two date formats in PQ (US Formats): mm/dd/yyyy hh:mm:ss AM/PM which is Date/Time, and mm/dd/yyyy which is just date. That said, it doesn't matter - data in PQ itself is never presented in a Table or Pivot Table. Obviously other non US formats are also supported, but they just reverse the Month and Day positions.
It can also be formatted in the Data Model which is advantageous because it will retain that formatting, as well as formatting for other Numeric data will flow through to Pivot Tables or Pivot Charts.
 
Upvote 0

Forum statistics

Threads
1,223,981
Messages
6,175,768
Members
452,668
Latest member
mrider123

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top