CTimeSpan::Format

This method generates a formatted string that corresponds to this CTimeSpan.

The Debug version of the library checks the formatting codes and asserts if the code is not in the list above.

At a Glance

Header file: Afx.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

CString Format( LPCSTR pFormat ) const;

CString Format( LPCTSTR pFormat ) const;

CString Format( UINT nID ) const;