This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
LoggedAt Criterion¶
The LoggedAtCriterion
Activity Log Criterion
matches activity log group that has a log entry created before or after a given date time.
Arguments¶
dateTime
- aDateTimeInterface
object, likeDateTime
comparison
- string that represents a comparison sign. Available signs can be found as constant in theLoggedAtCriterion
class itself
Comparison | Value | Constant |
---|---|---|
Equal | = |
LoggedAtCriterion::EQ |
Not equal | <> |
LoggedAtCriterion::NEQ |
Less than | < |
LoggedAtCriterion::LT |
Less than or equal | <= |
LoggedAtCriterion::LTE |
Greater than | > |
LoggedAtCriterion::GT |
Greater than or equal | >= |
LoggedAtCriterion::GTE |
Example¶
The following example is to match all activity log groups that are not older than a day:
1 2 3 |
|