Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

DateTimeDifference with decimal Months.days

jenniferte
6 - Meteoroid

Hi,

 

Need some help to calculate the DateTimeDifference with decimal Months.days:

Example:

 

Date Start=2023-12-29

Date End=2024-03-12

 

Months.days= 2.12days

4 REPLIES 4
Qiu
21 - Polaris
21 - Polaris

@jenniferte 
A quick sample as below.
First we calculate the difference for Month between dates, then add the dffrence of Month to the "Start Date" then calculate the difference between new Start Date and End Date.

0312-jenniferte.png

jenniferte
6 - Meteoroid

Thank you so much Qui! 

jenniferte
6 - Meteoroid

Thank you Qui!

Qiu
21 - Polaris
21 - Polaris

@jenniferte 
Glad to help.

Labels
Top Solution Authors