Megosztás a következőn keresztül:


system_clock::to_time_t Method

Static method that returns a time_t that most closely approximates the time that is represented by Time.

static time_t to_time_t(
   const time_point& Time
) _NOEXCEPT;

Parameters

Requirements

Header: chrono

Namespace: std::chrono

See Also

Reference

system_clock Structure

<chrono>

system_clock::from_time_t Method