time
De 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. |
| Défini dans l'entête <time.h>
|
||
Renvoie l'heure civile en cours codé comme un objet time_t .
Original:
Returns the current calendar time encoded as a time_t object.
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.
Sommaire |
[modifier] Paramètres
| time | - |
[modifier] Retourne la valeur
Temps calendaire actuelle codé comme objet time_t en cas de succès, (time_t)(-1) en cas d'erreur. Si l'argument n'est pas NULL, la valeur retournée est égale à la valeur stockée dans l'objet pointé par l'argument .
Original:
Current calendar time encoded as time_t object on success, (time_t)(-1) on error. If the argument is not NULL, the return value is equal to the value stored in the object pointed to by the argument.
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.
[modifier] Notes
L'encodage du temps calendaire dans time_t n'est pas spécifié, mais la plupart des systèmes sont conformes aux POSIX specification et renvoient une valeur de type entier en maintenant le nombre de secondes depuis l'Epoch. Implémentations dans lesquelles time_t est un 32-bit entier signé de nombreuses implémentations historiques () échouent dans l'année 2038 .
Original:
The encoding of calendar time in time_t is unspecified, but most systems conform to POSIX specification and return a value of integral type holding the number of seconds since the Epoch. Implementations in which time_t is a 32-bit signed integer (many historical implementations) fail in the year 2038.
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.
[modifier] Exemple
| This section is incomplete Reason: no example |
[modifier] Voir aussi
| convertit le temps depuis l'époque de temps du calendrier exprimée en heure locale Original: converts time since epoch to calendar time expressed as local time The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction) | |
| convertit le temps depuis l'époque de temps du calendrier exprimée en temps universel coordonné 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. (fonction) | |
| C++ documentation for time
| |