◐ Shell
clean mode source ↗

std::tm - cppreference.com

De cppreference.com

Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.

La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí.

Estructura de la celebración de una fecha del calendario y el tiempo descompuesto en sus componentes .

Original:

Structure holding a calendar date and time broken down into its components.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Objetos miembros

int tm_sec

seconds after the minute – [0, 60][note 1]
(objeto miembro público)

int tm_min

minutos después de la hora - [0, 59]

Original:

minutes after the hour – [0, 59]

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(objeto miembro público)

int tm_hour

horas desde la medianoche - [0, 23]

Original:

hours since midnight – [0, 23]

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(objeto miembro público)

int tm_mday

día del mes - [1, 31]

Original:

day of the month – [1, 31]

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(objeto miembro público)

int tm_mon

meses desde Enero - [0, 11]

Original:

months since January – [0, 11]

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(objeto miembro público)

int tm_year

años desde 1900

Original:

years since 1900

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(objeto miembro público)

int tm_wday

días desde domingo - [0, 6]

Original:

days since Sunday – [0, 6]

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(objeto miembro público)

int tm_yday

días a partir de 1 de enero - [0, 365]

Original:

days since January 1 – [0, 365]

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(objeto miembro público)

int tm_isdst

Horario de verano bandera Time. El valor es positivo si el horario de verano está en vigor, si no cero y negativo si no se dispone de información

Original:

Daylight Saving Time flag. The value is positive if DST is in effect, zero if not and negative if no information is available

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(objeto miembro público)

{{{1}}}

Original:

{{{2}}}

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

  1. Range allows for a positive leap second.

Original:

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Ver también

Convierte el tiempo transcurrido desde la época a tiempo de calendario expresado como hora local.
(función) [editar]
Convierte el tiempo transcurrido desde la época a tiempo de calendario expresado en Tiempo Universal Coordinado (UCT).
(función) [editar]