---
url: /cube-functions/timevalue.md
description: Converts a text string representing a time into a time value.
---

# TIMEVALUE&#x20;

Converts a text string representing a time into a time value.

```js
TIMEVALUE(time_text)
```

#### Parameters

* `time_text` - The text string representing a time to convert to a time value.

#### Examples

```js
TIMEVALUE("3:30:00")

```

**Result:** `0.145833333`

```js
TIMEVALUE("17:30:00")

```

**Result:** `0.729166667`
