Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sharepoint Designer - is there a way to calculate a date difference in a workflow?

Maybe I'm just crazy... So, with SPD I can add any time unit to a date and put that into a variable, but I can't seem to find anything that will let me calculate the difference between two dates. "Do Calculation" only lets me pick from numeric values. Am I missing something here? Seems like something which should be obvious.

like image 632
notnot Avatar asked Dec 03 '25 05:12

notnot


1 Answers

Date comparison is not available "out of the box", but there are some workarounds.

Maybe this article: How to perform date calculations and construct dynamic strings in a SharePoint Designer workflow provides the answer?

Some more related information here: Modifying Date Formats in SharePoint Designer Workflows

like image 191
Colin Avatar answered Dec 04 '25 22:12

Colin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!