| to_seconds(now()) |
| bigint(12) |
| 63847835963 |
|
|
| to_seconds(utc_timestamp()) |
| bigint(12) |
| 63847828763 |
|
|
| to_seconds('2022-03-29') |
| bigint(12) |
| 63815731200 |
|
|
| to_seconds('2022-03-29 12:15:30') |
| bigint(12) |
| 63815775330 |
|
|
| to_seconds(20210216) |
| bigint(12) |
| 63780652800 |
|
|
| to_seconds(20210216121530) |
| bigint(12) |
| 63780696930 |
|
|
| to_seconds('12:15:30.099') |
| bigint(12) |
| NULL |
|
|
| to_seconds(1381530.099) |
| bigint(12) |
| NULL |
|
|
| to_seconds('2022-03-29 138:15:30.099') |
| bigint(12) |
| NULL |
|
|
| to_seconds('0000-00-00 00:00:00.099') |
| bigint(12) |
| NULL |
|
|
| to_seconds(unix_timestamp()) |
| bigint(12) |
| NULL |
|
|
| to_seconds('xxx') |
| bigint(12) |
| NULL |
|
|
| to_seconds(null) |
| bigint(12) |
| NULL |
|
|