Contact

TIME Function (Gnumeric)

Date & Time Beginner Gnumeric

Construct Gnumeric time-of-day serials from components, understand rollover and fractional inputs, and check negative-input exceptions.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

TIME constructs a time-of-day serial from hours, minutes and seconds. The underlying result is a fraction of a day between zero and one; automatic time formatting can show a clock value rather than that decimal fraction.

All three numerical arguments are required. The implementation allows positive components to overflow into higher units and wraps whole days away. It also retains ordinary fractional components rather than always truncating them. TIME therefore constructs a clock time, not an unrestricted elapsed-duration value.

Syntax

TIME(hour, minute, second)

Worked examples

Put 14 in A2, 30 in B2 and 0 in C2, then enter =TIME(A2,B2,C2) in D2. The underlying result is 14.5/24, approximately 0.604166666666667; a time format displays 14:30. The preserved original control =HOUR(TIME(14,30,0)) returns 14.

TIME(25,0,0) returns 1/24, corresponding to 01:00 after day rollover. TIME(0,90,0) returns 1.5/24, or 01:30. TIME(0,0,90) is 90/86400, representing 00:01:30. TIME(0.5,0,0) gives half an hour, not zero hours.

These examples distinguish numerical storage from appearance. Inspect a General or numeric format when comparing fractions, and a time format when showing the clock value to a reader.

Advanced use

Combine a constructed time with a separate DATE value to form a date-time serial. Keep date and time inputs labeled so a whole-day rollover is not accidentally discarded when the intention was to schedule a later date.

For durations exceeding a day, retain total seconds or a day-based duration rather than using TIME as an accumulator. A twenty-five-hour quantity and a one-hour clock time are different data. Decide which representation the model requires before converting inputs.

Errors and troubleshooting

TIME(-1,0,0) and TIME(0,-1,0) return #NUM! in the selected checks. There is a source-level exception to the blanket negative-hour help note: hours are reduced modulo 24 before negativity is checked. TIME(-24,0,0) returns 0. Do not use this anomaly as an input-validation policy; reject negative components explicitly when constructing ordinary clock times.

Date tip: Dates are internally numeric values, while date formatting controls their appearance. Compare actual dates, not text that merely resembles dates. Extreme magnitudes and every fractional rounding boundary are outside these bounded examples.

Availability and verification

  • Introduced: Documented by 1.12.62; original introduction not established.
  • Historical source availability: Supported in Gnumeric 1.12.62, based on the function-specific registration.
  • Scope: Desktop; the fn-date function module must be included and enabled.
  • Historical check: October 14, 2026. Documentation/source check; no new native test in Gnumeric 1.12.62.

The selected examples and errors were recalculated with the actual Gnumeric 1.12.57 engine under C.UTF-8 on 17 October 2026. Native workbooks and observed outputs are retained. Historical 1.12.62 registration is a separate source check, not a native runtime test. No GUI test or retirement date is established, and the last functioning release remains unverified.

For time construction and components, see HOUR, MINUTE, SECOND.

DATE YEAR MONTH DAY WEEKDAY.

Official references