Function TRAP::Utils::String::GetDateTimeStamp#

Function Documentation#

std::string TRAP::Utils::String::GetDateTimeStamp(const std::chrono::time_point<std::chrono::system_clock> &timePoint) noexcept#

Retrieve the given date-time-stamp as a string with “YYYY-MM-DD HH:MM:SS” format.

Parameters:

timePoint – Timestamp to convert.

Returns:

Timestamp as string.