TO_UNIXTIME
Convert a date to its Epoch (Unix) seconds representation, with fractional milliseconds.
Syntax
Arguments
Name | Type | Description | Default Value |
---|---|---|---|
date | timestamp |
Returns
double
Examples
date | Output |
---|---|
timestamp '2018-03-10 08:55:12.456' | 1.520672112456E9 |
Transformation job example
SQL
Query result
date | Output |
---|---|
timestamp '2018-03-10 08:55:12.456' | 1.520672112456E9 |
Last updated