Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Writes a time value from a time structure to a stream by using a specified format.
template<class Elem>
T10 put_time(
struct tm *_Tptr,
const Elem *_Fmt
);
Parameters
_Tptr
The time value to write to the stream, provided in a time structure._Fmt
The desired format to write the time value.
Property Value/Return Value
Returns the stream str.
Remarks
The manipulator returns an object that, when inserted into the stream str, behaves as a formatted output function. The output function calls the member function put for the locale facet time_put associated with str. The output function uses _Tptr to indicate the time structure and _Fmt to indicate the beginning of a NUL-terminated format string. If successful, the call inserts literal text from the format string and converted values from the time structure. The manipulator then returns str.
Requirements
Header: <iomanip>
Namespace: std