Function parsing_utilities::convertUTCtoUnix
Defined in File parsing_utilities.hpp
Function Documentation
-
std::time_t parsing_utilities::convertUTCtoUnix(double utc_double)
Converts UTC time from the without-colon-delimiter format to Unix Epoch time (a number-of-seconds-since-1970/01/01 format)
Note that the type “std::time_t” is usually 32 bits, which also leads to the “Year 2038 Problem”.
- Parameters:
utc_double – [in] Represents UTC time in the without-colon-delimiter format
- Returns:
The time_t variable representing Unix Epoch time