DAX Function Guide

TIMEVALUE
Empty image or helper icon

Sam McKay

CEO & Founder

How does the TIMEVALUE work?
The TIMEVALUE function (DAX) converts a time in text format to a time in datetime format.
TIMEVALUE Formula Syntax

TIMEVALUE (
     time_text
)

How do you use the TIMEVALUE?

The TIMEVALUE function creates a time in serial number format from a date and/or time in an Excel text format. TIMEVALUE will return a decimal number between 0 and 0.99988426, representing 12:00:00 AM to 11:59:59 PM.

Related Blog Posts

Loading

Considerations when using the TIMEVALUE?

When the time_text argument is a text representation of the date and time, the function uses the locale and date/time settings of the client computer to understand the text value in order to perform the conversion. Most locales use the colon (:) as the time separator, and any input text using colons as time separators will parse correctly. Review your locale settings to understand your results.

Related Video Tutorials

Loading

Formula examples using the TIMEVALUE

==TIMEVALUE(“20:45:30”)

=TIMEVALUE(“2:24 AM”)

=TIMEVALUE(“22-Aug-2011 6:35 AM”)

Related Courses

Loading