Previous Topic: HOUR Function--Convert to Hour

Next Topic: INFO Function--Write INFO Message to Console Log

HOUR24 Function--Convert to Hour

The HOUR24 function converts the specified date and time to an hour from 0 to 23.

Syntax

The HOUR24 function has the following format:

HOUR24(date_time)

Parameters

The HOUR24 function accepts the following parameter:

date_time (number)

Specifies the date and time as the number of seconds that have passed since January 1, 1970. If date_time is not a valid representation of date and time, the function returns -1.

Return Value

The HOUR24 function returns a number from 0 to 23.

More information:

HOUR Function--Convert to Hour


Copyright © 2010 CA. All rights reserved. Email CA about this topic