- DAX Functions Tutorial
- DAX Functions - Home
- DAX Functions - Introduction
- DAX Parameter Naming Conventions
- Description Structure
- DAX Functions - Aggregation
- DAX Functions - Filter
- DAX Functions - Time Intelligence
- DAX Functions - Date and Time
- DAX Functions - Information
- DAX Functions - Logical
- Math & Trigonometric Functions
- DAX Functions - Parent & Child
- DAX Functions - Statistical
- DAX Functions - Text
- DAX Functions - Other
- DAX Functions Useful Resources
- DAX Functions - Quick Guide
- DAX Functions - Useful Resources
- DAX Functions - Discussion
DAX Date & Time - TIMEVALUE function
Description
Converts time in text format to time in datetime format.
Syntax
TIMEVALUE (<time_text>)
Parameters
Sr.No. | Parameter & Description |
---|---|
1 |
time_text A text string that represents a certain time of the day. Any date information included in the time_text parameter is ignored. |
Return Value
A date in datetime format.
Remarks
When the time_text parameter is a text representation of the date and time, DAX TIMEVALUE 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.
Example
= TIMEVALUE ("14:45:35") returns 12/30/1899 2:45:35 PM. = TIMEVALUE ("2:35:55") returns 12/30/1899 2:35:55 AM.
dax_functions_date_time.htm
Advertisements