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 Conversions

Cooper_yonk
5 - Atom

Hi peeps.

 

Does anyone know how I would turn a date 20/02/2016 which has come into alteryx as a text field, into a date?

 

 

12 REPLIES 12
gotu
7 - Meteor

IF anyone can help me in suggesting the way to convert the date format as DD.MM.YYYY to YYYY-mm-dd using the formula tool

JohnJPS
15 - Aurora

@gotu 

DateTimeFormat(DateTimeParse([DateAsString],"%d.%m.%Y"),"%Y-%m-%d")

This will parse "DateAsString" from provided in the given format... and then format it to the desired format.

See their documentation for more info.

Hope that help,

John

 

gotu
7 - Meteor

thank you so much for your advise.. It really helped me...

Labels
Top Solution Authors