How to get UTC time string in XLAT
g4-lisz at tonarchiv.ch
g4-lisz at tonarchiv.ch
Thu Mar 16 15:18:30 UTC 2023
March 16, 2023 4:01 PM, "Alan DeKok" <aland at deployingradius.com> wrote:
> 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.
Ah of course Event-Timestamp is obvious! I didn't see the forest for the trees.
>
> All of this is extensively documented.
Yes, if you know, where ;-)
Finally I found "Run-time variables" in the Wiki...
Best regards
Till
More information about the Freeradius-Users
mailing list