Converting steady_clock::time_point to time_t
问题 I'm using the steady_clock for saving the time stamp of some messages. For debug purpose is usefull to have the calendar (or something similar). For other clocks ther's the static function to_time_t , but on GCC (MinGW 4.8.0) this function is not present. Now i print something like: Timestamp: 26735259098242 For timestamp i need a steady_clock so I cannot use system_clock or others. Edit The previous print is given from the time_since_epoch().count () 回答1: Assuming you need the steady