Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

text to date

dkma
8 - Asteroid

Hi all,

 

the attached file consists two columns

 

Date in TextfomatActual Date
4446324-09-2021
4446829-09-2021

 

The first column is the text format of Actual Date column. this is converted in excel, But when it comes to alterx, 

 

How to detect and convert first column to Date format. 

 

Does anybody has any work around on this please. 

 

Thanks!

4 REPLIES 4
atcodedog05
22 - Nova
22 - Nova

Hi @dkma 

 

Use todate() formula like below.

 

atcodedog05_0-1632935532256.png

 

Hope this helps : )

Luke_C
17 - Castor

@atcodedog05  Learned something new with that function! I would have used the below which gets to the same answer but not as clean as todate()

 

datetimeadd('1900-01-01',[Date in Textfomat]-2,'days')

 

Luke_C_0-1632935731172.png

 

dkma
8 - Asteroid

Thanks for the help, i changed the text to number then todate(....) it worked.. thanks for the trick

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @dkma 

Cheers and have a nice day!

Labels