A comparison of a date with the current date can be done using both the “code” and “design” methods, given below the related description:

bpmAppService.HelperServices.DateTimeService.CurrentDate.CompareTo (input1);
input1: DateTime Date or Object
Output: int32