Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Date is converting incorrectly after Parse

slawrie5
5 - Atom

Hi. I am having an issue with a date that is formatting incorrectly after parsing. 

The original field contained 9/11/21-9/13/21. I parsed it to 2 new fields and then used a Data Cleansing tool to auto format the date as YYYY-MM-DD .

However, one of the dates is switching all of the characters around so it is showing as if the date is November 21 2009 instead of September 11 2021. 

How do I fix this issue?

 

slawrie5_0-1632249668471.png

 

3 REPLIES 3
Garabujo7
Alteryx
Alteryx

Hello @slawrie5 , have you tried to use the date/time tool to convert the date to a date field .

 

Garabujo7_0-1632250780536.png

 

 

KarolinaRoza
11 - Bolide

hi @slawrie5 

 

Agreed with @Garabujo7 , you can use Date Time tool.

 

Please find my proposed configuration of this tool. It should work. Let me know if you still have issue with your data.

 

Spoiler
KarolinaRoza_1-1632254830247.png

 


 

 

Regards,

Karolina

Luke_C
17 - Castor
17 - Castor

Hi @slawrie5 

 

I agree with the above replies, here's an alternative using the datetimeparse function:

 

Luke_C_0-1632255107190.png

 

 

Labels
Top Solution Authors