Re: convert $msec to sec

2016-04-03 Thread Валентин Бартенев
On Sunday 03 April 2016 20:40:33 Anoop Alias wrote: > Thanks Valentin. That works. > > Can you explain > This is simple named subpattern: http://www.pcre.org/original/doc/html/pcrepattern.html#SEC16 used in the map directive: http://nginx.org/r/map wbr, Valentin V. Bartenev

Re: convert $msec to sec

2016-04-03 Thread Igal @ Lucee.org
On 4/3/2016 8:10 AM, Anoop Alias wrote: Thanks Valentin. That works. Can you explain see http://nginx.org/en/docs/http/ngx_http_map_module.html ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: convert $msec to sec

2016-04-03 Thread Anoop Alias
Thanks Valentin. That works. Can you explain On Sun, Apr 3, 2016 at 6:10 PM, Валентин Бартенев wrote: > On Sunday 03 April 2016 11:31:08 Anoop Alias wrote: > > I need to log the seconds since epoch (without the millisecond > resolution) > > in the access_log file > > > > is

Re: convert $msec to sec

2016-04-03 Thread Валентин Бартенев
On Sunday 03 April 2016 11:31:08 Anoop Alias wrote: > I need to log the seconds since epoch (without the millisecond resolution) > in the access_log file > > is there is a way to convert the $msec to seconds or drop the exponential > part of the time . Probably using the map function?. > It's

convert $msec to sec

2016-04-03 Thread Anoop Alias
I need to log the seconds since epoch (without the millisecond resolution) in the access_log file is there is a way to convert the $msec to seconds or drop the exponential part of the time . Probably using the map function?. Thank you, -- *Anoop P Alias*