Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

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

How to convert this date "2022-03-01" to "01/Mar/2022" using formula tool.

Ekmi9
8 - Asteroid

How to convert this date "2022-03-01" to "01/Mar/2022" using formula tool.

 

Thanks in Advance !

4 REPLIES 4
IraWatt
17 - Castor
17 - Castor

Hey @Ekmi9,

You can use the formula tool like this:

DateTimeFormat([Date],"%d/%b/%Y")

IraWatt_0-1653384328845.png

 

You can use the datetime tool like this:

IraWatt_0-1653384052646.png

 

 

DavidSkaife
13 - Pulsar

Hi @Ekmi9 

 

Another example using the Formula tool:

 

DavidSkaife_0-1653384244229.png

 

Martyn
9 - Comet

DateTimeFormat([Date],"%d/%b/%Y") should do the trick.

Ladarthure
14 - Magnetar
14 - Magnetar

Hi @Ekmi9,

 

I won't add details about the solutions proposed by everyone, but if you want to have the details about the date time formats (using both datetimeparse tool and formula tool), you can use alteryx help about date time formats which is very simple and easy to use : 

 

https://help.alteryx.com/20221/designer/datetime-functions

Labels