Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Formula for all columns with dates

calvincarr29
8 - Asteroid
 

How do you write the following formula?

 

"If any of the columns contains a date then format it as mm-dd-yyyy."

 

dates.PNG

2 REPLIES 2
flying008
15 - Aurora

Hi, @calvincarr29 

 

FYI.

Change Output type to 'V-String' .

DateTimeFormat(ToString([_CurrentField_]),'%m-%d-%Y')

 

录制_2024_04_30_11_27_30_615.gif

calvincarr29
8 - Asteroid

Thank you so much!

Labels
Top Solution Authors