The data has dates in the form 2024-05-17 and I wish to convert it to 170524 as this is the template filename for the output.
I used DateTime tool to convert the input date into a string then used this formula - DateTimeFormat([Output Path],"%d%m%y")
this is giving me conversion error -
This is the exact output I want but it's coming out as null. How can I get this format of date?
sorry, I used DateTime tool to convert the input string* into a date*
@saachitalwar @Make sure the data type is String not Date data type, Alteryx only support ISO date types which is in the format YYYY-MM-DD
@saachitalwar is this solved?
no, not yet
@saachitalwar Can you screen shot your formula? Are you using formula tool? If not use the formula tool with the above formula you mentioned and change the data type to string. Also make sure your in put data is Date Type
Try the following.
datetimeformat(DateTimeParse([Output Path],'%Y-%m-%d'),'%d%m%y')