Hour

concerns

The Hour function returns the hour of the specified date as a Long.

 

Syntax

Hour(Expr)

Return value

Type

Description

Long

The hour of the date.

Parameter

Use

Name

Type

Passing

Description

Required

Expr

String

ByVal

A date

The function returns values between 0 and 23.