Line data Source code
1 0 : // Distributed under the MIT License. 2 : // See LICENSE.txt for details. 3 : 4 : #pragma once 5 : 6 : #include <string> 7 : 8 : /*! 9 : * \brief Get the current date and time in UTC. 10 : * 11 : * The date and time are formatted as "YYYY-MM-DD HH:MM:SS UTC". 12 : */ 13 1 : std::string utc_time();