Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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
binuacs
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