This function will convert a time in the HH:mm to a time_t object, but the seconds will be neglected.
e.g. 13:14 (std::string) -> 13:14 (time_t)
13:14:23 (std::string) -> 14:23 (time_t)
e.g. 13:14 (std::string) -> 13:14 (time_t)
13:14:23 (std::string) -> 14:23 (time_t)
Comments
Post a Comment