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

Need date output format as dd-mm-yyyy

sriku
7 - Meteor

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 REPLIES 5
JosephSerpis
17 - Castor
17 - Castor

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

BradWerner
11 - 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
7 - Meteor

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

grazitti_sapna
17 - Castor

Hi @chc9 , try this formula.

 

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

 

grazitti_sapna_0-1596182478597.png

Thanks.

 

Sapna Gupta
chc9
7 - Meteor

This worked!  Thank you!

Labels