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.
RÉSOLU

Need date output format as dd-mm-yyyy

sriku
Météore

Hi,

 

I need to convert to dd-mm-yyyy format. I tried using datetime  and used formula datetimeparse but not getting the desired out. Can any one help:

 

Date
01.04.2020
01.04.2019
01.04.2018
01.06.2020
01.05.2020
01.04.2020
01.03.2020
01.02.2020
01.01.2020
01.12.2019
01.11.2019
01.10.2019
01.09.2019
01.08.2019
01.07.2019
01.06.2019
01.05.2019
01.04.2019
5 RÉPONSES 5
JosephSerpis
17 - Castor
17 - Castor

Hi I mocked up a workflow let me know what you think?

BradWerner
Bolide

Hi @sriku,

 

I see I am late to the party! @JosephSerpis has a great solution.

 

I am just posting mine as an alternative way of doing it since I was mid-response. No worries! Both get you where you need to go (see attached workflow).

 

BradWerner_0-1596134244350.png

 

 

Have a great day!

Brad

chc9
Météore

Hi

I have a similar question.

I have output in standard Alteryx datetime as 2018-07-15.

How can I convert that to British datetime format 15-07-2018?

Then I want to do a formula to subtract one day.  Pls can you help me change this to 14-07-2018.

Thanks

Harry

Hi @chc9 , try this formula.

 

DatetimeFormat(DateTimeAdd([Date],-1,"days"),"%d-%m-%Y")

 

grazitti_sapna_0-1596182478597.png

Thanks.

 

Sapna Gupta
chc9
Météore

This worked!  Thank you!

Étiquettes
Auteurs des meilleures solutions