# TO\_UNIXTIME

Convert a date to its Epoch (Unix) seconds representation, with fractional milliseconds.

## Syntax

```
TO_UNIXTIME(date)
```

## Arguments

| Name | Type | Description | Default Value |
| --- | --- | --- | --- |
| date | timestamp |  |  |

## Returns

double

***

## Examples

| date | Output |
| --- | --- |
| timestamp "2018-03-10 08:55:12.456" | 1.520672112456E9 |