存档

文章标签 ‘CTime’
989 views

CTime 类 Format 的使用

2010年6月29日

使用 CTime 类可以很方便地取得当前系统时间并转换为各种格式

The format argument consists of one or more codes; as in printf, the formatting codes are preceded by a percent sign (%). Characters that do not begin with % are copied unchanged to strDest. The LC_TIME category of the current locale affects the output formatting of strftime.(For more information on LC_TIME, see setlocale.) The formatting codes for strftime are listed below:

阅读全文…

技术心得