strtotime strtotime -- Parses a datetime text into a UNIX timestamp. strtotime parses a datetime text into a UNIX timestamp. Usage void func::strtotime(int* time, string time_text)