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.

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
18 - Pollux
18 - Pollux

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
18 - Pollux
18 - Pollux

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

Labels
Top Solution Authors