Contido

# Hora

Returns the hour for a given time value. The hour is returned as an integer between 0 and 23.

This function is part of the Open Document Format for Office Applications (OpenDocument) standard Version 1.2. (ISO/IEC 26300:2-2015)

### Sintaxe

Hour (Número)

Number, as a time value, is a decimal, for which the hour is to be returned.

### Exemplos

=HOUR(NOW()) returns the current hour

=HOUR(C4) returns 17 if the contents of C4 = 17:20:00.

Temas relacionados

HOUR wiki page.

Funcións de data e hora

DATA

DATEDIF

DATEVALUE

Día

días

días360

DAYSINMONTH

DAYSINYEAR

DOMINGOPASCUA

DATAM

FINMES

Hora

ISLEAPYEAR

NUMSEMANAISO

Minuto

Mes

MONTHS

NETWORKDAYS

NETWORKDAYS.INTL

AGORA

Segunda

Hora

TIMEVALUE

HOXE

WEEKDAY

NUMSEMANA

NUMSEMANA_EXCEL2003

NUMSEMANA_OOO

WEEKS

WEEKSINYEAR

DÍAÚTIL

WORKDAY.INTL

Ano

FRACCIÓNANO

YEARS