Well, I just learned something I never knew. In
HELP DATERANGES
, you'll find this little nugget:
So. To get the current time as an age:
Code:
set now=%@makeage[%_isodate,%_time]
And to get five minutes ago as an age:
Code:
set then=%@eval[%@makeage[%_isodate,%_time] - ( 5 * 60 * 10000000 )]
And then you can plug that right into a date range:
A user-defined function to convert
n minutes ago to a file age would be trivial.