In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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

Date conversion not working from String

TeamTJ
8 - Asteroid

I have a .csv file with dates in it and I'm trying  to do some math with them but I am getting the error:

 

"Cannot convert "9/22/1998" to a date/Time with format  "%d/$m/%y"

 

My dates are coming in like this:  "01/06/2004"

 

My select tool, immediately after my Input Data tool shows my dates as V_WString

 

I'm using a DateTime tool to try and convert those strings to dates.

 

Nothing seems to be working.

 

Any advice?

 

2 REPLIES 2
LordNeilLord
15 - Aurora

Hi @TeamTJ

 

It's because 9/22/1998 is in the format %m/%d/%y

 

Are you sure your other dates are dd/mm/yyyy?

TeamTJ
8 - Asteroid

Obviously I don't know the difference between a day and a month,,,ugh!

 

And I've been staring at that for 30+ minutes.

 

Thanks for the help...and for not mocking my ignorance!

Labels
Top Solution Authors