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

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