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

DateTimeDifference with decimal Months.days

jenniferte
Météoroïde

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 RÉPONSES 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
Météoroïde

Thank you so much Qui! 

jenniferte
Météoroïde

Thank you Qui!

Qiu
21 - Polaris
21 - Polaris

@jenniferte 
Glad to help.

Étiquettes
Auteurs des meilleures solutions