How to get UTC time string in XLAT

Alan DeKok aland at deployingradius.com
Thu Mar 16 15:01:06 UTC 2023


On Mar 16, 2023, at 10:49 AM, g4-lisz at tonarchiv.ch wrote:
> Seems that I looked at an older version of the module setup, where there wasn't the wispr2date part yet.

  Which is why I said to use a recent version of the server.

> But one question remains: How I get the current time into this expression? In the example it's using an attribute. I guess there is some built in variable for this? Sorry, I couldn't find this information either...

  The Event-Timestamp attribute contains a date.  Or, You use %t to get the request timestamp.

  All of this is extensively documented.

  Alan DeKok.



More information about the Freeradius-Users mailing list