Start Free Trial

Alteryx Designer Desktop Discussions

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

Parsing Constant Date doesn't work properly

Hagar-Usama
8 - Asteroid
 

Hello,

 

I am attempting to assign a constant date to use in my model, but I am encountering an issue where the time is not being parsed correctly. I have attempted to use DateTimeParse, however it appears to be rejecting the constant as a numeric value rather than a string.

 

How can I fix this? 

 

Thanks!

 

parsing_date_constant.PNG

 

 

invalid_extraction_date.PNG

1 REPLY 1
alexnajm
18 - Pollux
18 - Pollux

I would uncheck the # column for the user constant - we wouldn't want to store the string as a number since there are hyphens!

 

Edit: I tested this on my side and it works perfectly. I might also retype as 2022-05-23

Labels
Top Solution Authors