Conditions - Compare dates in variables - VisualCron - Forum

Community forum

Beylie
2014-10-20T08:38:46Z
When trying to set up a condition that checks whether 1 jobs last trigger date/time is less than the current date minus a few hours, we need to be able to compare the {TRIGGER(Active|LastTrigger|LastRun)} to {DATENOWADD(Hours|-8|yyyy/MM/dd hh:mm tt)} using variable. There is no variable types available to compare these. Currently only Boolean, Int32, Int64, Double, Decimal and String are available. We need a DATE type.
Veysel
2018-03-19T10:41:59Z
Yes, I am also looking exactly for a date/datetime comparison
How else can I check if the execution date time of a task is within a range of few hours?
Scroll to Top