Namespace
Varianti

mktime

Da cppreference.com.
< c‎ | chrono

 
 
Data e ora utilità
Funzioni
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Tempo di manipolazione
Original:
Time manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
difftime
time
clock
Formato conversioni
Original:
Format conversions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
asctime
ctime
strftime
wcsftime
gmtime
localtime
mktime
Costanti
Original:
Constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
CLOCKS_PER_SEC
Tipi
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
tm
time_t
clock_t
 
Defined in header <time.h>
time_t mktime( tm* time );
Converte l'ora locale del calendario a un tempo da un'epoca come oggetto time_t, ignorando i valori di time->tm_wday e time->yday. I valori delle altre componenti time non sono limitati al loro gamme abituali. Un valore negativo di time->tm_isdst provoca mktime tentare di determinare se l'ora legale era in vigore.
Original:
Converts local calendar time to a time since epoch as a time_t object, ignoring the values of time->tm_wday and time->yday. The values of other components of time are not restricted to their usual ranges. A negative value of time->tm_isdst causes mktime to attempt to determine if Daylight Saving Time was in effect.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
In caso di successo, ricalcola e aggiorna tutti i campi in time per soddisfare le loro gamme corretta.
Original:
If successful, recalculates and updates all fields in time to fit their proper ranges.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Indice

[modifica] Parametri

time -
puntatore a un oggetto che specifica tm ora locale calendario da convertire
Original:
pointer to a tm object specifying local calendar time to convert
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifica] Valore di ritorno

tempo poiché epoca come un oggetto time_t in caso di successo o se -1 time non può essere rappresentato come un oggetto time_t.
Original:
time since epoch as a time_t object on success or -1 if time cannot be represented 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.

[modifica] Esempio

[modifica] Vedi anche

converte il tempo in quanto epoca di tempo del calendario espresso in ora 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.

(funzione) [edit]