std::chrono::file_clock::to_utc, std::chrono::file_clock::from_utc

  1. Converts the file_time t to a utc_time representing the same point in time.

# Declarations

template< class Duration >
static std::chrono::utc_time</* see below */>
to_utc( const std::chrono::file_time<Duration>& t );

(since C++20) (optional*)

template< class Duration >
static std::chrono::file_time</* see below */>
from_utc( const std::chrono::utc_time<Duration>& t );

(since C++20) (optional*)

# Notes

User code should usually use std::chrono::clock_cast, which provides a generic interface to convert time points between clocks, rather than call these functions directly.

# Example

This section is incompleteReason: no example

# See also