Function ngx_time

Source
pub fn ngx_time() -> i64
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.