Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to convert MMM YY(string format) to DD-MMM-YYYY in date format

jagdeep_singh85
8 - Asteroid

Hi,

 

How to convert MMM YY(string format) to DD-MMM-YYYY in date format?

3 REPLIES 3
agentzerow
7 - Meteor

left(datetimetrim(DateTimeParse([Input],"%B %y"), 'lastofmonth'),10)

neilgallen
12 - Quasar

as an alternative you can use datetimeformat:

 

datetimeformat(datetimetrim(DateTimeParse([Month(Input)],"%B %y"), 'lastofmonth'),"%Y-%m-%d")

jagdeep_singh85
8 - Asteroid

Thanks for help, I have used date time tool with custom "%m/%d/yyyy"

Labels
Top Solution Authors