How to construct constant "time" values

Hi,

I am curious how it is possible to constuct some constant value x that make the following line valid:

have_request ? network_time() : x

apparently all the forms 0 sec, 0 s, 0sec, 0secs, 0 secs, etc do not work, because they are interpreted as intervals and not times.

The wiki didn't yield any solution, because the Section:
http://www.bro-ids.org/wiki/index.php/Reference_Manual:_Predefined_Variables_and_Functions#Functions_for_manipulating_time
is empty.

    bye
    Fabian

I am curious how it is possible to constuct some constant value x that
make the following line valid:

have_request ? network_time() : x

It's not. Currently, there are no constructors for absolute time values.
This is because a convincing need for them hasn't come up. If you have
one, let's hear it!, and then we can considering adding this functinonality.

    Vern

I suppose the application here is to use a time of zero as a null
value, i.e., as an indicator that one doesn't have a time.

As a work-around, double_to_time(0.0) should work.

Robin