std::chrono::system_clock::to_time_t
提供: cppreference.com
< cpp | chrono | system clock
static std::time_t to_time_t( const time_point& t ) noexcept; |
(C++11以上) | |
t
を std::time_t 型に変換します。
std::time_t の方が精度が低い場合、値が丸められるか切り捨てられるかは処理系定義です。
[編集] 引数
t | - | 変換するシステム時計の time point |
[編集] 戻り値
t
を表す std::time_t の値。
[編集] 関連項目
[静的] |
std::time_t を system_clock の time point に変換します (パブリック静的メンバ関数) |