different answers depending on the time

Marcin marcin at nicram.net
Wed Nov 16 16:29:14 CET 2016


Ok, I understand. but in documentation
http://freeradius.org/radiusd/man/unlang.html there is nothing about time
and date.


2016-11-16 15:04 GMT+01:00 Alan DeKok <aland at deployingradius.com>:

>
> > On Nov 16, 2016, at 5:55 AM, Marcin <marcin at nicram.net> wrote:
> >
> > Thank your.
> > I understand That %H represents hours.
> > Can I do with this way?
> > if ( %H > 22 and %H < 10 )
>
>   Read "man unlang".  The syntax is documented.
>
>   if (("%H" > 22) && ("%H" < 10)) ...
>
>   Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/
> list/users.html
>



-- 
Pozdrawiam
Marcin / nicraM


More information about the Freeradius-Users mailing list