Alteryx Designer Desktop Discussions

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

Date format is in wazzard format

mmustkee
10 - Fireball

Hi team,

 

I receive date in below format. I have been using formula below but no help.

DateTimeParse([m Date], "%Y%m%d")

ToDate([m Date])

 

Kindly hep.

 

m DateC DateT Date
438724422844277
438724422844278
442864428644294
442864428644294
442734427344291
442734427344291
442734427344291

 

6 REPLIES 6
Qiu
21 - Polaris
21 - Polaris

@mmustkee 
In order for Todate function to work, the data needs to numeric at first.

 

3A.PNG

atcodedog05
22 - Nova
22 - Nova

Hi @mmustkee 

 

You can use a multi-field method to convert multiple fields into date format.

 

Workflow:

atcodedog05_0-1622097684345.png

 

Hope this helps 🙂

 

mmustkee
10 - Fireball

Hi Qiu,

 

Thanks for the solution and it worked too. But lets suppose we have only one date column to change. so can we not use formula function without using Record id, Transpose or cross tab.

 

Thanks for your response in advance.

atcodedog05
22 - Nova
22 - Nova

Hi @mmustkee 

 

Yes using ToDate() in a formula tool should work for single column.

 

Hope this helps 🙂

mmustkee
10 - Fireball

@atcodedog05 

 

It worked. Thanks a lot.

Qiu
21 - Polaris
21 - Polaris

@mmustkee 
I am using the combination of Record id, Transpose or cross tab to make the solution dynamic.
so it would also work if you want only change one column and more important is that it will works if the columns increases.

 

Labels