On 06/20/2011 10:53 AM, Phil Mayers wrote:

%S expands to an "SQL time"; e.g. a few minutes ago:

2011-06-20 10:48:49

...so in radcheck you can put:

Current-Time-Date >= 2011-07-01 00:00:00

FYI, there is also:

%D

...which expands to:

20110701

...so you can use this to populate a Current-Date attribute, do day comparisons without time, and optionally use the build-in Current-Time to compare times within the day.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to