I would like to use the field “Import Time (Server Time)” from the unmanaged assets to create a list of machines that were imported less than x (7) days ago. The following code is getting me close, it shows the ID’s of the machines whose import date contains the string “20”…
ids of bes unmanagedassets whose (value of field whose (name of it = "Import Time (Server Time)") of it contains "20")
… so now I am seeking help to convert the ‘it contains “20”’ into something like ‘less than 7 days ago’. My attempts to cast the values to dates or even integers have all failed.
Anybody do this before or have some ideas?