Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Ignore field conversion error DateTimeParse

Chirag_KRCPL
8 - Asteroid

I am using below formula to get dates that are in different format:  
Chirag_KRCPL_0-1662378511114.png
Although I am getting the expected results ie the Date column as shown in above snip, but along with this I am also getting below error:

Chirag_KRCPL_1-1662378964155.png

Requirement: The field conversion error is defeating the eventual purpose of my workflow and hence I want to Ignore/kill it. So please suggest a solution to my problem ( I don't want to use delimit since string is having different pattern)

Regards,  

Chirag

1 REPLY 1
binuacs
21 - Polaris

@Chirag_KRCPL One way of doing this by checking the first two digit of the date is > 12 then use the format %d/%m/%Y else use %m/%d/%Y

 

binuacs_0-1662381259240.png

 

Labels
Top Solution Authors