Namespaces
Variants

std::chrono::tai_clock:: to_utc

From cppreference.net
template < class Duration >

static std:: chrono :: utc_time < std:: common_type_t < Duration, std:: chrono :: seconds >>

to_utc ( const std:: chrono :: tai_time < Duration > & t ) noexcept ;
(C++20부터)

tai_time t 를 동일한 시간대의 utc_time 으로 변환합니다.

반환값

std::chrono::utc_time 와 동일한 시간 지점을 나타내는 t 의 반환 타입 값을 t. time_since_epoch ( ) 로부터 생성하고 378691210s 를 빼는 방식으로 계산됩니다 (378691210은 두 클록의 에포크 사이의 초 수입니다: 1958-01-01 00:00:00 TAI와 1970-01-01 00:00:00 UTC).

참고 항목

[static]
utc_time tai_time 으로 변환
(public static member function)
(C++20)
한 clock의 시간 포인트를 다른 clock으로 변환
(function template)