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
6 - Meteoroid

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
6 - Meteoroid

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

Labels