Return Value of get_time()
This function does not return any value after its execution. It just stores the input data into the given argument.
std::get_time() Function in C++
In C++, the function std::get_time() is a standard library function that is used to parse the given input as date and time value as specified in the format string that is passed as the argument. It stores that parsed time in the object of the tm type.
std::get_time() is defined inside <ctime> header in C++.