I'm trying to convert the string produced from the __DATE__
macro into a time_t
. I don't need a full-blown date/time parser, something that only handles the format of the __DATE__
macro would be great.
A preprocessor method would be nifty, but a function would work just as well. If it's relevant, I'm using MSVC.