← All functions

TIME

Supported, behaves as documented

Category: Date and time · Last tested 2026-09-01

Real compatibility results for the TIME function: executed in Excel for the web, Google Sheets and LibreOffice Calc, with desktop Excel behavior from Microsoft’s official documentation (we do not run desktop Excel — Excel for the web is a different application and is executed separately). Syntax and links to that documentation are below.

Support matrix

EngineDocumentedLive-testedVerdict
Excel (desktop)Yes No — documented only n/a
Excel for the web— Yes (recalc, 2026-09-01) Supported, behaves as documented
Google SheetsYes Yes (Drive import, 2026-08-29) Supported, behaves as documented
LibreOffice CalcYes Yes (25.8.7.3, 2026-07-29) Supported, behaves as documented

LibreOffice version history

We executed the same test cases under each LibreOffice release to show exactly when TIME’s support changed — not documentation claims, real results.

LibreOffice versionVerdictTested
24.2.0.3 Supported, behaves as documented 2026-08-29
24.8.7.2 Supported, behaves as documented 2026-08-29
25.2.0.3 Supported, behaves as documented 2026-08-29
25.8.7.3 Supported, behaves as documented 2026-07-29

Executed test cases

Excel for the web (executed 2026-09-01 via OneDrive recalculation)

These values come from Excel for the web, not from desktop Excel. They are two different implementations of the calculation engine, and this run measured only the web one: the corpus was uploaded to OneDrive as .xlsx, recalculated by Excel for the web on open, and downloaded again for readback. Excel for the web is a rolling service with no pinnable version, so the run is identified by its date. Where a value here disagrees with the Expected column — which is Microsoft’s documentation of the desktop product — we cannot tell you whether the web engine diverges from the desktop one or the documentation is wrong about both, because we do not run desktop Excel.

FormulaDescriptionResultExpectedVerdict
=TIME(13,30,0) Ordinary in-range h/m/s construction returns the fraction-of-a-day serial 0.5625 0.5625
Provenance

13:30 = 13.5/24 of a day = 0.5625

Matched
=TIME(25,0,0) Documented behavior: an hour argument greater than 23 wraps modulo 24 instead of erroring or accumulating past a single day. Verified via https://support.microsoft.com/en-us/office/time-function-9a5aff99-8f7d-4611-845e-747d0b8d5457 ("Any value greater than 23 will be divided by 24 and the remainder will be treated as the hour value") 0.04166666666666674 0.041666666666666664
Provenance

25 mod 24 = 1 -> TIME(1,0,0) = 1/24 of a day

Matched
=TIME(27,0,0) The exact example given in Microsoft's own TIME documentation ("TIME(27,0,0) = TIME(3,0,0) = .125 or 3:00 AM") 0.125 0.125
Provenance

27 mod 24 = 3 -> TIME(3,0,0) = 3/24 = 0.125, matching the cited doc example verbatim

Matched

Google Sheets (executed 2026-08-29 via Drive import)

Google Sheets is a rolling service with no pinnable version, so this run is identified by its date. The corpus was imported to Drive as .xlsx, recalculated by Sheets, and exported back for readback.

FormulaDescriptionResultExpectedVerdict
=TIME(13,30,0) Ordinary in-range h/m/s construction returns the fraction-of-a-day serial 0.5625 0.5625
Provenance

13:30 = 13.5/24 of a day = 0.5625

Matched
=TIME(25,0,0) Documented behavior: an hour argument greater than 23 wraps modulo 24 instead of erroring or accumulating past a single day. Verified via https://support.microsoft.com/en-us/office/time-function-9a5aff99-8f7d-4611-845e-747d0b8d5457 ("Any value greater than 23 will be divided by 24 and the remainder will be treated as the hour value") 0.041666666666666664 0.041666666666666664
Provenance

25 mod 24 = 1 -> TIME(1,0,0) = 1/24 of a day

Matched
=TIME(27,0,0) The exact example given in Microsoft's own TIME documentation ("TIME(27,0,0) = TIME(3,0,0) = .125 or 3:00 AM") 0.125 0.125
Provenance

27 mod 24 = 3 -> TIME(3,0,0) = 3/24 = 0.125, matching the cited doc example verbatim

Matched

LibreOffice Calc 25.8.7.3 (tested 2026-07-29)

FormulaDescriptionResultExpectedVerdict
=TIME(13,30,0) Ordinary in-range h/m/s construction returns the fraction-of-a-day serial 0.5625 0.5625
Provenance

13:30 = 13.5/24 of a day = 0.5625

Matched
=TIME(25,0,0) Documented behavior: an hour argument greater than 23 wraps modulo 24 instead of erroring or accumulating past a single day. Verified via https://support.microsoft.com/en-us/office/time-function-9a5aff99-8f7d-4611-845e-747d0b8d5457 ("Any value greater than 23 will be divided by 24 and the remainder will be treated as the hour value") 0.041666666666666664 0.041666666666666664
Provenance

25 mod 24 = 1 -> TIME(1,0,0) = 1/24 of a day

Matched
=TIME(27,0,0) The exact example given in Microsoft's own TIME documentation ("TIME(27,0,0) = TIME(3,0,0) = .125 or 3:00 AM") 0.125 0.125
Provenance

27 mod 24 = 3 -> TIME(3,0,0) = 3/24 = 0.125, matching the cited doc example verbatim

Matched

Docs & syntax

Related how-to recipes