I can write a function to parse the string date, but I feel like I am re-inventing the wheel here. Is there a faster, perhaps built in C++ way to get from a string date of this format: 1/4/2000 to a more easy to use int like 20000104?