TO_UNIX_EPOCH_MILLIS
Converts a date to its Epoch (Unix) seconds representation.
Syntax
Arguments
Name | Type | Description | Default Value |
---|---|---|---|
date | timestamp |
Returns
bigint
Examples
date | Output |
---|---|
timestamp '2018-03-10 08:55:12.456' | 1520672112456 |
Transformation job example
SQL
Query result
date | Output |
---|---|
timestamp '2018-03-10 08:55:12.456' | 1520672112456 |
Last updated