Saltar para o conteúdo principal

Time.Hour

Devolve o componente de hora.

Syntax

Time.Hour(
dateTime as any
) as number

Remarks

Devolve o componente de hora do valor time, datetime ou datetimezone fornecido, dateTime.

Examples

Example #1

Encontrar a hora em #datetime(2011, 12, 31, 9, 15, 36).

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

Result:

9

Category

Time