In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more 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