names of BES Actions whose ((State of it as lowercase = “expired”) AND (End Date of it >=(current date - 2 * hour)))
How can we use UTC time format “now as universal string” because all the actions in our environment are getting executed in UTC format
Also below command does not give correct out
current date - 2 * hour
Q:current date - 2 * hour
A: Tue, 21 Dec 2021
T: 0.133 ms
A: Wed, 22 Dec 2021
T: 0.068 ms
Basically, the requirement is to get action information which are expired in the last 2 hours.
Time Zone action start and End is UTC.