[RADIATOR] Database date format

rohan.henry at cwjamaica.com rohan.henry at cwjamaica.com
Sun Mar 10 11:30:32 CDT 2013


Thanks Hugh.

I thought about using the %A but wanted to explore other options since I was already processing the Accounting Stop. But I will explore using the Accounting Start with options for updating the database record with the Accounting Stop time when a session ends.

On Sat, 9 Mar 2013 18:36:01 +1100
 Hugh Irvine <hugh at open.com.au> wrote:
>
>Hello Rohan -
>
>You can use the %A special character when processing the accounting start, rather than the accounting stop.
>
>See section 5.2 in the Radiator 4.11 reference manual (doc/ref.pdf).
>
>regards
>
>Hugh
>
>
>On 9 Mar 2013, at 18:01, <rohan.henry at cwjamaica.com> wrote:
>
>> Hello,
>> 
>> How can I get the following to insert date into my database in the format "Mar  9, 2013 01:52"
>> 
>> AcctColumnDef   ACCT_START_TIME,%b-0%{Acct-Session-Time},literal
>> 
>> Thanks,
>> Rohan
>> _______________________________________________
>> radiator mailing list
>> radiator at open.com.au
>> http://www.open.com.au/mailman/listinfo/radiator
>
>
>--
>
>Hugh Irvine
>hugh at open.com.au
>
>Radiator: the most portable, flexible and configurable RADIUS server 
>anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
>Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
>TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
>DIAMETER etc. 
>Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.
>

Rohan


More information about the radiator mailing list