I have char start_time[40] = "2020-04-01 12:00:00"; How to convert the char array to timestamp in C++ without using strptime?