system_clock::now Method

Static method that returns the current time.

static time_point now() _NOEXCEPT;

Return Value

A time_point object that represents the current time.

Requirements

Header: chrono

Namespace: std::chrono

See Also

Reference

system_clock Structure

<chrono>