I have a string that contains a data, "2013-04-20T13:50:47.390"
like this.
I was thinking of methods to work with the string values. I would like to use sscanf
, since it seems an efficient way to do so, but I don't know the commands I need to add in the sscanf
so it know the separators like '-', 'T', ':', '.'. Any suggestion?
Btw, is there any efficient way to cut the string, I would like to save in another string the part after the T
.
Thanks for the time.