We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun 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