Changing the format of a date attribute

Patric patricrt at gmail.com
Wed Dec 9 15:57:29 CET 2009


Alan DeKok wrote:
> On 09-12-09 11:37 AM, Patric wrote:
>   
>> The problem with the above is that some of those formatting options ('%M
>> %d %Y %H:%i:%s') are also defined as one-character variables, so instead
>> of formatting the date with those options, its replacing each with the
>> variable value, and when Im trying to end up with:
>>     
>
>   Use %% to escape the %.  That should work.  e.g.
>
> 	' ... %%M %%d %%Y %%H:%%i:%%s'

Thanks Ill give that a go :)
Patric



More information about the Freeradius-Users mailing list