How to format date and time string in C++

后端 未结 6 1290
终归单人心
终归单人心 2020-12-09 09:57

Let\'s say I have time_t and tm structure. I can\'t use Boost but MFC. How can I make it a string like following?

Mon Apr 23 17:48:14 2012

6条回答
提交回复
热议问题