In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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

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
Top Solution Authors