ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
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
19 - Altair
19 - Altair

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