on
Prototype: on(years, months, days, hours, minutes, seconds)
Return type: int
Description: Returns the specified date/time in integer system representation.
The specified date/time is an absolute date in the local timezone.
Arguments:
years
: year in the range1970,3000
month
: month, in the range1,12
day
: day of month, in the range1,31
hour
: hour of day, in the range0,23
minute
: minute, in the range0,59
second
: second, in the range0,59
Example:
body file_select zero_age
{
mtime => irange(on(2000,1,1,0,0,0),now);
file_result => "mtime";
}
Notes: In process matching, dates could be wrong by an hour depending on Daylight Savings Time / Summer Time. This is a known bug to be fixed.