Hi,
yes, this can be done with filtering script. You can get "time" object with gmtime or localtime functions and then check it's properties. To match events only between 00:00 and 08:00 you can use the following script:
This will not include 8:00, if you need it you should add additional condition that checks for 8:00 exact time.
Best regards,
Victor
yes, this can be done with filtering script. You can get "time" object with gmtime or localtime functions and then check it's properties. To match events only between 00:00 and 08:00 you can use the following script:
Code Select
t = localtime($event->timestamp);
return t->hour >= 0 and t->hour < 8;
This will not include 8:00, if you need it you should add additional condition that checks for 8:00 exact time.
Best regards,
Victor