I have a file feeding a date as "2019.07.01" and I've been trying to convert this to a proper date format for alteryx, 07/01/2019 so that I can have a formula check if the dates match.
Any thoughts? I've been working with a date time tool but it is not giving me the desired output.
Solved! Go to Solution.
Hi @jason_clough14 if you use the syntax %Y.%m.%d it should work. Alteryx recognizes dates as YYYY-MM-DD so you need to transform you dates into this format to use any of the date functions within Alteryx. You can use the dateformat function to transform your date back or into a format you required, using this syntax DateTimeFormat([DateTime_Out],"%d/%m/%Y") will create a string field of the date in the format you specified in your question.
Thank you that did work! @JosephSerpis Can I ask what the % symbol represents here? I'm a bit new to Alteryx
Hi @jason_clough14 you might find this link helpful explains datetime functions in Alteryx the % just means I don't have to repeat the sign e.g. %d is equivalent to dd.
https://help.alteryx.com/10.1/Reference/DateTimeFunctions.htm
User | Count |
---|---|
19 | |
15 | |
15 | |
9 | |
8 |