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.

Help with Date Format Please

KellyCom
5 - Atom

First time posting - hope its in the right location.  Apologies if not. 

 

I am looking to update the date format i am currently bringing in to "MM-DD-YYYY"

I am currently attempting to use the DATE tool but its just updating to null for the updated field.

 

Its currently coming in as a vstring.

 

Thank you for the advice help !

 

2 REPLIES 2
Bren_Spill2
12 - Quasar
12 - Quasar

@KellyCom - there are a couple of options in the attached file. Using a combo of DateTIme and Formula tools, or just Formula.

 

Thanks!

caltang
17 - Castor
17 - Castor

I assume that your data is a string now, you can use the formula:

 

DateTimeParse([YourField],"%d-%b-%Y")

 

You can use the multi field formula tool and select the date fields you want to convert. Make sure to untick the "create new field", and tick the "change data type" to Date. Then key in the code in the expression. Easier to use [_CurrentField_] in my view once you use the multi field formula tool. Hope this helps!

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