1. Home
  2. Functions
  3. Date and time
  4. TIMEVALUE

TIMEVALUE function

Converts a time written as text into a fraction of a day.

Syntax

=TIMEVALUE(time_text)

Arguments

ArgumentRequiredDescription
time_textRequiredText with a time, like "6:35 PM" or "18:35"

How to use TIMEVALUE

TIMEVALUE takes 1 required argument. Type =TIMEVALUE( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=TIMEVALUE("2:24 AM")Result 0.1, shown as 2:24 AM with a time format
=TIMEVALUE("22-Aug-2011 6:35 AM")Result 0.274305556, shown as 6:35 AM with a time format

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.