Saltar al contenido principal

Time.Hour

Devuelve el componente de hora.

Syntax

Time.Hour(
dateTime as any
) as number

Remarks

Devuelve el componente de hora del valor time, datetime o datetimezone proporcionado, dateTime.

Examples

Example #1

Buscar la hora en #datetime(2011, 12, 31, 9, 15, 36).

Time.Hour(#datetime(2011, 12, 31, 9, 15, 36))

Result:

9

Category

Time