Free Trial

Alteryx Designer Desktop Discussions

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

Count number of months between 2 dates

DC21
6 - Meteoroid

Hi

 

if I have a 

date 1= 15/10/2021

date 2= 29/01/2021

the no of months between the 2 dates rounded up is 9 months

how do I do this calculation in alteryx

2 REPLIES 2
Luke_C
17 - Castor
17 - Castor

Hi @DC21 

 

You can use a datetimediff function for this. The below thread has some good examples and possible solutions:

 

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Endeavoring-to-extract-a-more-precise-...

 

Qiu
21 - Polaris
21 - Polaris

@DC21 
A sampel

CaptureC3.PNG

Labels
Top Solution Authors