Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Date format from mm/dd/yy to DDMMMYYY format

Inactive User
Not applicable

Team,
I want to convert mm/dd/yy format to DDMMMYYYY format... for example 03/19/21 to read as 19Mar2021 - if i use DateTimeParse tool its not accepting and shows an warning as " Formula (24) DATETIMEPARSE: Cannot convert "2021-03-19" to a date/time with format "%d-%B-%Y" and language "English": Invalid month: '2021-03-19' -- expected at least three letters".

 

Please advice.

 

Regards,

Guru

3 REPLIES 3
Luke_C
17 - Castor

Hi @Inactive User 

 

Try this:

 

datetimeformat(datetimeparse([Date],"%m/%d/%y"),"%d%b%Y")

 

Datetime functions can be tricky, I have this bookmarked:https://help.alteryx.com/current/designer/datetime-functions 

 

 

Luke_C_0-1619443648755.png

 

Emil_Kos
17 - Castor
17 - Castor

Hi @Inactive User,


I have prepared a workflow for you.

 

Output:

 

Emil_Kos_0-1619443839309.png

 

Inactive User
Not applicable

Thanks all !

Labels