Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Convert date to DDMMYYY format for csv output

shilpamehta1991
6 - Meteoroid

I need to output file in csv and want the dates to be in DDMMYYYY format instead of YYYY-MM-DD the standard format of Alteryx.

Please suggest how can I do this.

4 REPLIES 4
Aidan_K
11 - Bolide

Hi @shilpamehta1991 

 

You could use a formula tool to do this.

from 2019-01-01 to 01012019 using (e.g.) Right([Date A], 2)+""+Substring([Date A],5,2)+""+Left([Date A], 4)

 

See sample workflow attached.

Regards,

Aidan

shilpamehta1991
6 - Meteoroid

Thanks @AidanKing for your solution. It works.  

Aidan_K
11 - Bolide

Your welcome @shilpamehta1991.

 

Happy to help :)

 

Regards,

Aidan

MarqueeCrew
20 - Arcturus
20 - Arcturus
An alternative solution is to use the datetimeformat function in a formula.

DateTimeFormat([date],"%d%m%Y")

Cheers,

Mark
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Labels