Parsing is the reverse of formatting:
https://codeeval.dev/gist/f22664464e660c6468099b408bb8bf9a
Parsing template uses the same style as formatting.
What if you prefer strftime style of parsing time? That’s available too.
strftime