Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Is "YEAR-MM-DD" only date format that Alteryx recognizes?

hlee36
8 - Asteroid

When I tried to convert string of "2020-JUN-08" to date value, it was converted into "null".

 

I had to use formulas and stuff (a little time-consuming) to convert the string of "2020-JUN-08" into a string of "2020-06-08". Then, I was able to convert this string into date value.

 

My question is, is this format "YEAR-MM-DD" the only date format that Alteryx recognizes?

3 REPLIES 3
FrederikE
13 - Pulsar

Hey @hlee36,

 

Yes. Sadly there is no further auto-detection to get other date types. 

caltang
17 - Castor
17 - Castor

Yes, unfortunately that is the case. Just a side note, if you're dealing with bigger data sets that are less well kept, you may encounter differences in how users input dates, and one format may not fit all in Alteryx too. 

 

Need to get a little creative in ensuring all types of dates are accounted for properly.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
MarqueeCrew
20 - Arcturus
20 - Arcturus

@hlee36 ,

 

 the ISO standard format is used.  Here is a page to bookmark: https://help.alteryx.com/20231/designer/datetime-functions#specifiers 

 

you can use this function to convert your data:

 

DateTimeParse("2020-JUN-08","%Y-%h-%d")

 

 used as a variable it looks like:


DateTimeParse([yourDateField],"%Y-%h-%d")

I hope that this helps.  If you would like to modify or enhance Alteryx behaviors, you should checkout the ideas
💡 posts here:

 

https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Ideas/idb-p/product-ideas 

 

cheers,

 

Mark

 

 

 

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Labels
Top Solution Authors