Try like this buddy
out_hours = Convert.ToInt32(now.ToString(“hh”))
out_mins = Convert.ToInt32(now.ToString(“mm”))
out_sum_value = out_hours+out_mins
in if condition like this
out_sum_value mod 2 = 0
If this condition pass it will go to THEN part of if condition which means is even or will go to else part means odd
Cheers @venkatmalla6