Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
GELÖST

Change date format

Venkateshp
Atom

Hi team

how can i convert the date format(dd-mm-yyyy) to 

Required format(dd-Mon-yyyy) for multiple columns 

 

Example i have 01-01-2023 and i want is 01-JAN-2023

 

 

 

 

3 ANTWORTEN 3
NMangera
Feuerball
Spoiler
NMangera_0-1680867444285.png

 

this should do the trick

martinding
Pulsar

Hi @Venkateshp,

 

 

Let's say your date field is called [Date].

 

So in the formula tool, you will write:

DateTimeFormat([Date], "%d-%b-%Y")  and your data type should be set to a string type (e.g. String).

binuacs
Arcturus

@Venkateshp One way of doing this

DateTimeFormat(DateTimeParse([Date],'%d-%m-%Y'),'%d-%b-%Y')

binuacs_0-1680871572999.png

 

Beschriftungen