std::chrono::operator<<(std::chrono::utc_time)
From cppreference.com
                    
                                        
                    
                    
                                                            
                    
| template <class CharT, class Traits, class Duration> std::basic_ostream<CharT, Traits>& | (since C++20) | |
Outputs tp into the stream os, as if by os << std::format(STATICALLY_WIDEN<CharT>("{:%F %T}"), tp), where STATICALLY_WIDEN<CharT>("{:%F %T}") is "{:%F %T}" if CharT is char, and L"{:%F %T}" if CharT is wchar_t.
Return value
os.
See also
| specialization of std::formatter that formats a utc_timeaccording to the provided format(class template specialization) | |
| (C++20) | stores formatted representation of the arguments in a new string (function template) |