There is a variable like

const char* date = "2019-12-16T18:30:58.708Z"

I want to extract individual values ​​from this variable, such as:

day, month, year, hour, minute, second

Tell me, how can this be implemented correctly? This is most likely due to the delimiters ":" and "-"

Browse other questions tagged or ask your own question.