Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Generates a formatted string that corresponds to this CTime object.
CString FormatGmt( 
   LPCTSTR pszFormat  
) const; 
CString FormatGmt( 
   UINT nFormatID  
) const;
Parameters
- pszFormat 
 Specifies a formatting string similar to the printf formatting string. See the run-time function strftime for details.
- nFormatID 
 The ID of the string that identifies this format.
Return Value
A CString that contains the formatted time.
Remarks
The time value is not converted and thus reflects UTC.
Example
See the example for CTime::Format.
Requirements
Header: atltime.h