In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
Start Free Trial

Alteryx Designer Desktop Discussions

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

date format

MikeFrancis1959
8 - Asteroid

The data I use is not in the date format I need for Alteryx and I have tried a few ways to change it but no luck, I know I am missing something simple but I cannot get it correct, can someone help me on this?

 

convert date 2023.01.03 to 2023-01-03

 

I used this formula 

datetimeparse([Input], '%d/%m/%Y')

4 REPLIES 4
Hammad_Rashid
11 - Bolide
binu_acs
21 - Polaris

@MikeFrancis1959 You have to use the same input format in the DateTimeParse() function

 

DateTimeParse([input],'%Y.%m.%d')

binuacs_0-1679692431706.png

 

NMangera
11 - Bolide

you can also use the DateTime tool. Set the configuration to Custom and type  %Y.%m.%dDateFormat.png

MikeFrancis1959
8 - Asteroid

This works !

Thanks

Mike

Labels
Top Solution Authors