FreeRADIUS InkBridge

%time.next(<time>)

Calculate number of seconds until next n hour, day, week, or year.

Example

With the current time at 16:18:00, %time.next(1h) will expand to 2520, which is 42 minutes times sixty seconds.

reply.Reply-Message := "You should wait for %time.next(1h)s"
Output
You should wait for 2520s