Function: Hour

Description

Returns the hour (0-23) from a date/time.

Syntax

Hour(date)

Arguments

Date containing a time portion.

Return value

This function returns a number.

Calculated field example

The following calculated field will return 12 from a Date field containing 11/1/2003 12:05:33 AM: Hour(Date)

 

 

 

© 2024 Altair Engineering Inc. All Rights Reserved.

Intellectual Property Rights Notice | Technical Support