ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. 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

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