Skip to main content
← All functions

TIMEVALUE function

Converts a time in the form of text to a serial number

Converts a time in the form of text to a serial number.

Syntax

TIMEVALUE(time_text)

Square brackets indicate optional arguments.

Arguments

ArgumentRequiredMeaning
time_textYesA text string that represents a time in any one of the Microsoft Excel time formats; for example, "6:45 PM" and "18:45" text strings within quotation marks that represent time."15:20:59"

Try TIMEVALUE

Convert an evening time into a fraction of a day

=TIMEVALUE(A2)

18 hours 30 minutes is 18.5/24 of a day. The numeric result is a day fraction; a time number format changes its display, not the stored value.

Inspect the current formula

Read its written arguments or observe actual operation values in a separate local calculation. This action neither applies a draft nor grades an answer.

Read the formula, one argument at a time

Explore the written function calls and their inputs. The calculation result belongs to the complete formula.

TIMEVALUE · top-level call

=TIMEVALUE(A2)

1 / 1 · time_text

A text string that represents a time in any one of the Microsoft Excel time formats; for example, "6:45 PM" and "18:45" text strings within quotation marks that represent time.

TIMEVALUE reference ↗

Follow the cells behind a result

Read explicit local references and helper formulas using a separate calculation. Your draft stays in this field; the worksheet and practice checks do not change.

The worksheet runs locally. Published checks apply to the supplied example only. Native Excel and Google Sheets compatibility remain unverified.

Reference and compatibility

Univer 1.0.4 / Apache-2.0. Calculation checks cover the supplied examples only. The browser worksheet does not implement every Excel feature, external service or connected data type.