This function converts a std::tm to a std::time_t, assuming UTC and not local timezone. This is used instead of relying on repeated calls to mktime(), which can fail on some system (BSD) for dates before 1900.
This function converts a std::tm to a std::time_t, assuming UTC and not local timezone. This is used instead of relying on repeated calls to mktime(), which can fail on some system (BSD) for dates before 1900.