sub ByDate { my ($self, $text, $args, $conf) = @_; # Do appropriate time formatting $cooked_now = TimeFormat(time); if($cooked_now > $args->[0] && $cooked_now < $args->[1]) { return $text; } else { return ""; } }