LOTUSSCRIPT LANGUAGE


Hour function
Example

Returns the hour of the day for a date/time argument as an integer from 0 to 23.

Syntax

Hour ( dateExpr )

Elements

dateExpr

Return value

Hour returns a Variant containing a value of DataType 2 (Integer). If the dateExpr is a Variant containing the value NULL, then Hour returns NULL.

Language cross-reference

@Hour function in formula language

Example
See Also