HOUR
Supported, behaves as documentedCategory: Date and time · Last tested 2026-07-04
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel | Yes | Not yet | n/a |
| Google Sheets | Yes | Not yet | n/a |
| LibreOffice Calc | Yes | Yes (24.2.7.2, 2026-07-04) | Supported, behaves as documented |
Executed test cases
LibreOffice Calc 24.2.7.2 (tested 2026-07-04)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =HOUR(0.5) | HOUR applied to a bare fractional-day serial (no date part) -- 0.5 of a day is exactly noon | 12 | 12 | Matched |
| =HOUR(TIME(15,45,10)) | HOUR applied to a TIME()-constructed value | 15 | 15 | Matched |
| =HOUR(45366.75) | HOUR applied to a combined date+time serial extracts only the time-of-day part | 18 | 18 0.75 of a day = 18:00 |
Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation