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.

Change 2025-03-25 to 20250325

LisaLeach
7 - Meteor

Hello,

I am looking for the easiest way to remove the hyphens from a date 2025-03-25 to 20250325.  There should be a way in the Data Cleanse tool to remove dynamic characters.

3 REPLIES 3
alexnajm
19 - Altair
19 - Altair

not sure what you mean by dynamic characters, but it's because the output needs to be a string since your expected format is no longer a date

 

DateTimeFormat([field], "%Y%m%d") will work

LisaLeach
7 - Meteor

Oh right, a formula. I wasn't thinking.  Thank you.  

alexnajm
19 - Altair
19 - Altair

Happy to help! Please accept the response as a solution when you get a chance 😊

Labels
Top Solution Authors