The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Verify that duration date is no more than an year from now based on the date of another variable.

ramosp
Kilo Explorer

The user is prompted to enter a date that is no more than a year from now. I need to check that the date is valid when it is entered. Is anyone working on something similar or has a script or business rule doing this already. This is on a service catalog item.      

10 REPLIES 10

Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

Shouldnt you be able to just use the glideDatetime like compareTo?