We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to calculate ageing between 2 dates

MaheshR
7 - Meteor

Dates:

14-06-2009-06-20
14-06-2009-06-20
14-06-2009-06-20
14-06-2009-06-20
14-06-2009-06-20
14-06-2008-06-20
14-06-2008-06-20
14-06-2008-06-20
14-06-2008-06-20
14-06-2008-06-20
14-06-2008-06-20
14-06-2008-06-20
14-06-2008-06-20
14-06-2008-06-20
14-06-2008-06-20
14-06-2008-06-20
3 REPLIES 3
JosephSerpis
17 - Castor
17 - Castor

Hi @MaheshR you need to use DateTimeFiff function however you will need to specify your dates in the format alteryx recognises which is YYYY-MM-DD. This link may be useful as it explains datetime functions in alteryx. I have mocked up a workflow let me know what you think?

npeddagorla
7 - Meteor

Hello @MaheshR ,

 

find the attached sample workflow.

 

Regards,

Naveen.

echuong1
Alteryx Alumni (Retired)

You can use the datetimediff() function in the Formula tool to calculate the difference.

 

Before you can use the formula tool, you'll need to convert the dates to Alteryx recognized dates. You can use the datetimeparse tool to achieve this.

 

See attached for an example workflow.

 

echuong1_0-1592331617680.png

 

Labels
Top Solution Authors