---
url: /cube-functions/second.md
description: Returns the second component of a given time value.
---

# SECOND&#x20;

Returns the second component of a given time value.

```js
SECOND(time_value)
```

#### Parameters

* `time_value` - The time value from which to extract the second component.

#### Examples

```js
SECOND("13:30:45")

```

**Result:** `45`

**Note:** Returns the second component (45) of the given time value (13:30:45).

```js
SECOND(0.75)

```

**Result:** `0`

**Note:** Returns the second component (0) of the given time value (0.75), which represents 6:00:00 PM.
