Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

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