pub fn ngx_timeofday() -> &'static ngx_time_t
Expand description
Returns cached time, updated at the start of the event loop iteration.
Can be stale when accessing from threads, see ngx_time_update. A cached reference to the ngx_timeofday() result is guaranteed to remain unmodified for the next NGX_TIME_SLOTS seconds.