Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to get Datediff between Created date and a date in a variable on Requests

Sylvia31
Tera Contributor

Hello

I am trying to calculate the date difference (in days) between the Created date and 'Start date' (which is created as a variable in a variable set that is used in a Requested Item).

I have been able to add the Start date to a report, but am not able to calculate the difference between the 2 dates.

 

can anyone help?

Thank you

 

1 REPLY 1

Shruti
Giga Sage
Giga Sage

Hi,

Try to  create a new variable and store the date difference in it