Link Details

Link 92781 thumbnail
User 290279 avatar

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++.
  • 7
  • 5
  • 1608
  • 241

Comments

Add your comment
User 294742 avatar

dmitryx replied ago:

0 votes Vote down Vote up Reply

how lame... people, go work on factory...

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.