How to get UTC time string in XLAT

Alan DeKok aland at deployingradius.com
Thu Mar 16 13:15:08 UTC 2023


On Mar 16, 2023, at 9:13 AM, g4-lisz at tonarchiv.ch wrote:
> Sorry for asking this basic question, but how exactly do I use this module? I.e. how looks a XLAT string / placeholder that gives me the current date in a certain format?
> 
> For most modules there are plenty of examples, but I couldn't find anything about date:... expansion.

  The module comes with documentation.  https://github.com/FreeRADIUS/freeradius-server/blob/v3.2.x/raddb/mods-available/date

  See "wispr2date", which includes sample configuration, and an example of how to use the module in an xlat string.

  Alan DeKok.



More information about the Freeradius-Users mailing list