Alteryx Designer Desktop Discussions

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

Converting Date

srk0609
8 - Asteroid

I want to convert  2022-05-13 and 13-05-22 to 13-MAY-2022 can anyone help? Thank you

8 REPLIES 8
DataNath
17 - Castor

Does this do the trick for you? The second formula is obviously optional, depending on whether or not you're precious about the uppercase 'MAY'. Workbook attached:

 

DataNath_1-1652820535683.png

 

 

srk0609
8 - Asteroid

Hi,

 

Is it possible to just have 13-MAY-22 instead of 13-MAY-2022 in o/p?

DataNath
17 - Castor

@srk0609 Absolutely, just use lowercase y's here, as shown:

 

DataNath_0-1652820769530.png

 

srk0609
8 - Asteroid

Thank you let me try it. I will mark it as solution as soon as I get o/p

 

srk0609
8 - Asteroid

Thank you the year thing and is it possible to show March as MAR, April APR in the same date eg o/p should 13-APR-22

DataNath
17 - Castor

Sure is @srk0609 - Just use a lowercase %h instead of %B, as shown here (have added a couple extra dates to show it working as MAY obviously doesn't change):

 

DataNath_0-1652823007936.png

 

binuacs
20 - Arcturus

@srk0609 Another way of doing this 

binuacs_0-1652823341979.png

 

srk0609
8 - Asteroid

Thank you so much for help

Labels