The HOUR function converts the specified date and time to an hour from 1 to 12.
The HOUR function has the following format:
HOUR(date_time)
The HOUR 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.
The HOUR function returns a number from 1 to 12.
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |