ngx_time

Function ngx_time 

Source
pub fn ngx_time() -> time_t
Expand description

Returns cached timestamp in seconds, updated at the start of the event loop iteration.

Can be stale when accessing from threads, see [ngx_time_update].