Converts a std::chrono::system_clock::time_point to an absl::Time.
Declared in <absl/time/time.h>
Time
FromChrono(std::chrono::system_clock::time_point const& tp);
Example:
auto tp = std::chrono::system_clock::from_time_t(123); absl::Time t = absl::FromChrono(tp); // t == absl::FromTimeT(123)
The equivalent time.
| Name | Description |
|---|---|
| tp | The time point to convert. |