Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Covert US date format to UK format

Kuha
7 - Meteor

I am trying to convert the date from US format (yyyy-mm-dd) to UK format (dd-mm-yyyy). Any help please.

 

FromTo
2011/01/2727/01/2011
2011/12/2727/12/2011
2022/04/2929/04/2022
2023/09/1515/09/2023

 

3 REPLIES 3
Luke_C
17 - Castor

Hi @Kuha 

 

Here's how using the date functions:

DateTimeFormat(DateTimeParse([From],'%Y/%m/%d'),'%d/%m/%Y')

 

Luke_C_0-1678642177054.png

 

gaoa
11 - Bolide

Hi @Kuha 

using DateTime tool:

gaoa_0-1678647585504.png

Kuha
7 - Meteor

Hi @Luke_C / @gaoa 

 

Both solutions worked fine. I think I had some glitches in the process. After I deleted the tools and tried again. No issues.

 

Thanks for your quick response.

 

Cheers

Kuha

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels