Page 1 of 1

Add Units to DateDifference

Posted: May 12th, 2022, 6:02 pm
by JefferyD
The DateDifference service supports days and several time units, but lacks anything larger than days. I'd like to see weeks, months, and years added as available units.

For situations where the conversion is more complicated, maybe a remainder in the unit of days would be useful as well. For example, a fraction of a month is not consistent, so maybe a unit like "MonthRemainderInDays" could be added as well.

Date DIfference.PNG

Re: Add Units to DateDifference

Posted: May 13th, 2022, 7:22 am
by SteveCap
Task #10449 has been created. This post will be updated with the additional units added once it has been completed.

Re: Add Units to DateDifference

Posted: August 10th, 2022, 3:53 pm
by JustinVanRegenmorter
This feature has been added as of DesignTime Revision 2359 and RunTime Revision 1019.