Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

HELP NEEDED: Date Format Change

yuchanliu88
5 - Atom

I have a date column formatted as "mm/dd/yyyy", such as "8/3/2021". I need it to be in the TRUE "mm/dd/yyyy" format, such as "08/03/2021". In addition, there are some null records with no value at all. I would like to keep it blank. Can anyone help me to resolve this issue? Thank you very much for your help. 

4 REPLIES 4
KarolinaRoza
11 - Bolide

hi @yuchanliu88 

 

Once you convert "8/3/2021" to Alteryx data type format, you can apply Formula tool to change to "mm/dd/yyyy" by:

 

DateTimeFormat([DateTime_Out],"%m/%d/%Y")

 

 

KarolinaRoza_0-1629843037345.png

 

what is more, null values will stay null as well.

 

Karolina

 

Jotigautam
10 - Fireball

Not sure if by blank you mean empty or null cell so here is a way to do that if need to keep empty, otherwise remove if statement..

Jotigautam_0-1629879421561.png

 

yuchanliu88
5 - Atom

Hi Karolina,

 

Thank you so much for your time and help. It worked!

 

Have a nice one.

 

Yuchan

yuchanliu88
5 - Atom

Thank you very much for your help! Very helpful:)

 

Yuchan

Labels
Top Solution Authors