<font size=2 face="sans-serif">The "ILM" chapter in the Admin
Guide has some tips, among which:</font><br><br><font size=2 face="}">18. You can convert a time interval value to
a number of seconds with the SQL cast syntax, as in the</font><br><font size=2 face="}">following example:</font><font size=2 face="sans-serif"><br></font><br><font size=1 face="}">define([toSeconds],[<b>(($1) SECONDS(12,6))</b>])</font><br><font size=1 face="}">define([toUnixSeconds],[toSeconds($1 - ’1970-1-1@0:00’)])</font><br><br><font size=1 face="}">RULE external list b</font><br><font size=1 face="}">RULE list b SHOW(’sinceNow=’ toSeconds(current_timestamp-modification_time)
)</font><br><font size=1 face="}">RULE external list c</font><br><font size=1 face="}">RULE list c SHOW(’sinceUnixEpoch=’ toUnixSeconds(modification_time)
)</font><br><br><font size=2 face="}">The following method is also supported:</font><br><br><font size=1 face="}">define(access_age_in_days,( INTEGER(( (CURRENT_TIMESTAMP
- ACCESS_TIME) SECONDS)) /(24*3600.0) ) )</font><br><font size=1 face="}">RULE external list w exec ’’</font><br><font size=1 face="}">RULE list w weight(access_age_in_days) show(access_age_in_days)</font><br><p><font size=2 face="sans-serif">--marc of GPFS</font><BR>