Returns the hour as an integer given a date serial number.
|serial_number||The time that contains the hour you want to find.|
|* This function returns a number between 0 and 23.|
* The "serial_number" can be a time, value, cell reference or a text string in a time format.
* If "serial_number" < 0, then #NUM! is returned.
* If "serial_number" is not a valid time or date, then #VALUE! is returned.
* The time format can be any of those found on the "Format Cells" dialog box.
* You can use the MINUTE function to return the minute as an integer given a date serial number.
* You can use the SECOND function to return the number of seconds as an integer given a date serial number.
* You can use the TIME function to return the time as a decimal given the hour, minute, second.
* You can use the TIMEVALUE function to return the time as a decimal given a time in text format.
* For the Microsoft documentation refer to support.office.com
© 2020 Better Solutions Limited. All Rights Reserved. © 2020 Better Solutions Limited Top