Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam posts. As we work toward a permanent solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts. Thank you for your patience!

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
17 - Castor
17 - Castor

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