mktime
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. |
| Defined in header <time.h>
|
||
Convierte el tiempo del calendario local a un tiempo desde la época como un objeto time_t, ignorando los valores de
time->tm_wday y time->yday. Los valores de los otros componentes de time no se limitan a sus rangos habituales. Un valor negativo de time->tm_isdst causa mktime para tratar de determinar si el horario de verano estaba en vigor .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.
You can help to correct and verify the translation. Click here for instructions.
Si tiene éxito, vuelve a calcular y actualiza todos los campos en los
time para satisfacer sus rangos adecuados .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.
You can help to correct and verify the translation. Click here for instructions.
Contenido |
[editar] Parámetros
| time | - | puntero a un objeto tm especificando el tiempo del calendario local para convertir
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. |
[editar] Valor de retorno
tiempo desde la época como un objeto time_t en el éxito o -1 si
time no puede ser representado como un objeto 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.
You can help to correct and verify the translation. Click here for instructions.
[editar] Ejemplo
| This section is incomplete Reason: no example |
[editar] Ver también
| convierte el tiempo transcurrido desde la época en cuando calendario expresado como hora local 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. (función) | |
| C++ documentation for mktime
| |