We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Unable to change date format

Kartik21
8 - Asteroid

I am unable to change the date format from 03/15/2024 (V_WString type) to 2024-03-15. I am using the formula as DateTimeFormat([Transaction Date1], "%d/%m/%Y"). The output column is coming as Null.

 

I even tried to use the date time tool, but it is not giving all the values in the required format. It is missing some values in between.
Also, I tried to change the filed type to Date but it is also not helpful.

Please suggest solutions for this.

3 REPLIES 3
binuacs
21 - Polaris

@Kartik21 use DateTimeParse([Field],'%m/%d/%Y') and change the DataType to Date

ShankerV
17 - Castor

Hi @Kartik21  Please use datetimeparse() function.

 

Screenshot 2024-10-22 164416.png

Kartik21
8 - Asteroid

Thanks @binuacs & @ShankerV . It is working fine now. 😊👍

Labels
Top Solution Authors