localtime
Aus cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody>| definiert in Header <time.h>
|
||
tm* localtime( const time_t *time ); |
||
Konvertiert gegebenen Zeit seit Epoche als
time_t Wert in Kalenderzeit, in Ortszeit angegeben . Original:
Converts given time since epoch as
time_t value into calendar time, expressed in local time. The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Parameter
| time | - | Zeiger auf eine
time_t zu konvertierende ObjektOriginal: pointer to a time_t object to convertThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Rückgabewert
Zeiger auf einen statischen internen
tm Objekt auf Erfolg oder NULL anders. Die Struktur kann zwischen gmtime, localtime und ctime geteilt werden, und können überschrieben werden bei jedem Aufruf .Original:
pointer to a static internal
tm object on success, or NULL otherwise. The structure may be shared between gmtime, localtime, and ctime, and may be overwritten on each invocation.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Notes
Diese Funktion kann nicht Thread-sicher sein .
Original:
This function may not be thread-safe.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
POSIX verlangt, dass diese Funktion errno setzt auf EOVERFLOW, ob es denn das Argument ist zu groß ausfällt .
Original:
POSIX requires that this function sets errno to EOVERFLOW if it fails because the argument is too large.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Beispiel
| This section is incomplete Reason: no example |
Siehe auch
wandelt Mal seit Epoche zu Kalenderzeit ausgedrückt als Universal Coordinated Time Original: converts time since epoch to calendar time expressed as Universal Coordinated Time The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
C++ documentation for localtime
| |