ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

YYYY/MM/DD to MM/DD

MonaAlmutairi
8 - Asteroid

Hi everyone,

 

I would like to convert some date in the format YYYY/MM/DD to be only month and days -> MM/DD

 

and what about if I wanted another format such as 01-Jan?

 

 

I appreciate your support!

Thank you.

2 REPLIES 2
Yoshiro_Fujimori
16 - Nebula
16 - Nebula

Hi @MonaAlmutairi ,

 

First convert the string "YYYY/MM/DD" to Date type "YYYY-MM-DD" with DateTimeParse function

and then you can use DateTimeFormat function to format it as you like.

 

Check this help page. https://help.alteryx.com/20223/designer/datetime-functions

 

Sample Formula

DateFormat = DateTimeParse([Date],"%Y/%m/%d")

MM/DD = DateTimeFormat([DateFormat],"%m/%d")

dd-mmm = DateTimeFormat([DateFormat],"%d-%b")

 

Output

Yoshiro_Fujimori_0-1683779542944.png

 

Good luck.

MonaAlmutairi
8 - Asteroid

@Yoshiro_Fujimori Thank you!! very comprehensive explanation! 

Labels
Top Solution Authors