Modification date

(imported topic written by Marty23)

I have this relevance working and my question is can use the modified date of the certdb.txt to filter the relevent systems down more?

(name of operating system = “Win95” OR name of operating system = “Win98” OR name of operating system = “WinME” OR name of operating system = “WinNT” OR name of operating system = “Win2000” OR name of operating system = “WinXP” OR name of operating system = “Win2003” OR name of operating system = “WinVista”) AND (exists file “C:\Program Files\Oracle\JInitiator 1.3.1.29\lib\security\certdb.txt”)

I can;t find anything that talks about how to use the modification date in the relevance and I need to indentafy systems that have this file with a date before today.

(imported comment written by SystemAdmin)

There’s a ton of relevance inspectors that relate to dates and times. I haven’t played around too much with building the time since midnight. Maybe there’s an easier way. Maybe something like this?

( if

(

name of operating system starts with “Win”

)

then

platform id of operating system != 3

else

false

)

and

(exists file “C:\Program Files\Oracle\JInitiator 1.3.1.29\lib\security\certdb.txt” whose (modification time of it < time (current date as string & " 12:00:00 " & local time zone as string)))