Create timestamp in C++?

Hey Guys,

I would like to know how can I create timestamp in numerical format?

e.g. 2003-06-22T20:57:29 (or any other format that is available)

I need the timestamp in order to put it as a XML filename.

Thanks,
http://www.cplusplus.com/reference/clibrary/ctime/

If you are working with windows, there are even more options that you can read about in your MSDN. Is this a visual c++ question?
Topic archived. No new replies allowed.