[Bro-Dev] network_time()

Seth Hall seth at icir.org
Thu Dec 8 13:06:42 PST 2011


On Dec 8, 2011, at 3:59 PM, Gregor Maier wrote:

> No. It gives seconds since epoch which is independent from the timezone (epoch is midnight 1/1/70 UTC)


I know that epoch is like that, but network_time() give a time-typed value, not epoch time (as a count).  When I print the value with %T in a call to fmt it's coming out in local time.

  .Seth

--
Seth Hall
International Computer Science Institute
(Bro) because everyone has a network
http://www.bro-ids.org/




More information about the bro-dev mailing list