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

Date transforming

Aleksandar1
7 - Meteor

How i can transform date yyyy-mm-dd to yyyy/mm/dd?

Thanks in advance

2 REPLIES 2
ShankerV
17 - Castor

Hi @Aleksandar1 

 

Please use below.

Datetimeformat([Columnname],"%Y/%m/%d")

 

Make sure you store the above in Vstring datatype.

 

Many thanks

Shanker V

caltang
17 - Castor
17 - Castor

If your date is stored as a V_WString, then you can try:

DateTimeFormat(DateTimeParse([YourDateHere],"%Y-%m-%d"),"%Y/%m/%d")

If your date is already stored as a date type, then you can ignore the DateTimeFormat part and go directly to DateTimeParse section.

 

Hope this helps!

 

-Cal

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Labels
Top Solution Authors