Pular para o conteúdo principal

Time.Hour

Retorna o componente de hora.

Syntax

Time.Hour(
dateTime as any
) as number

Remarks

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

Examples

Example #1

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

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

Result:

9

Category

Time