不好意思,找了个这样的帮助给你:
CTime::FormatGmt 
CString FormatGmt( LPCTSTR pFormat ) const;CString FormatGmt( UINT nFormatID ) const;Return ValueA CString that contains the formatted time.ParameterspFormatSpecifies a formatting string similar to the printf formatting string. See the run-time function strftime for details.nFormatIDThe ID of the string that identifies this format. ResGenerates a formatted string that corresponds to this CTime object. The time value is not converted and thus reflects UTC.
具体用法参看 strftime 函数的例程。
用strftime在MSDN中索引即了。