First Checkin time > current time + 14 days

(imported topic written by SystemAdmin)

I am trying to create an action that is only applicable if the computer has initially checked into Big Fix over 14 days ago.

I am trying to do something like this:

Q: subscribe time of current site > (current date + time interval “14 days”)

A: Error: The operator “less than” is not defined.

I get results from the following queries:

Q: subscribe time of current site

A: Mon, 03 May 2010 15:29:31 -0500

Q: current date + time interval “14 days”

A: Thu, 28 Oct 2010

Anyhelp?

(imported comment written by NoahSalzman)

Time and date formats can get a bit tricky as you have to match the “types” up correctly. That is, you can’t compare a “time” directly to a “date”.

Try this:

(subscribe time of current site) > (now - 14*day)

“subscribe time” is type “time” and “now” also has a type of “tiime”.

(imported comment written by SystemAdmin)

That does exactly what I neeeded it to do.

Thanks for help!