By jamesling
via digcode.com
Published: Jul 06 2008 / 09:41
From time to time, you may want to convert the current data and time into a custom format like YYYY/MM/DD HH:MM:SS when you are coding in C++. In general, there are two ways to achieve this: one way is to call the standard C++ function strftime(), another is to implement your own conversion function. This article demonstrates you how to implement them in C++.



Comments
dmitryx replied ago:
how lame... people, go work on factory...
Voters For This Link (7)
Voters Against This Link (5)