laterthan
Table of contents
                    
                        
                    
                Prototype: laterthan(year, month, day, hour, minute, second)
Return type: boolean
Description: Returns whether the current time is later than the given date and time.
The specified date/time is an absolute date in the local timezone. Note that, unlike some other functions, the month argument is 1-based (i.e. 1 corresponds to January).
Arguments:
- year:- int- Years - in the range:- 0,10000
- month:- int- Months - in the range:- 0,1000
- day:- int- Days - in the range:- 0,1000
- hour:- int- Hours - in the range:- 0,1000
- minute:- int- Minutes - in the range:- 0,1000
- second:- int- Seconds - in the range:- 0,40000
Example:
 code
      bundle agent example
{
    classes:
      "after_deadline" expression => laterthan(2000,1,1,0,0,0);
    reports:
      after_deadline::
        "deadline has passed";
}
See also: on()