Reading numbers from a string

i have a set of strings in this format: 2019-07-05T11:59:37.454Z
I’d like to read the strings and extract time, for example:
input 2019-07-05T11:59:37.454Z
output h=11, m=59, s=37.454.
Any idea on how to get this?
Thank you!

I edited string by query replacing T and : with space, then just read with a fstream storing hours, minutes and seconds into a 3xN matrix

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.