Python Parse Time String Python Functions Geeksforgeeks