parse-time-string
parses "standard" time strings, as does org-parse-time-string
. The documentation claims the latter will be faster. Neither gives a way to specify the format of the string.
There is also an undocumented function parse-iso8601-time-string
that parses ISO8601 into something. It isn't clear to me what the output is supposed to be.