Bigquery Functions
Time Functions
Supported Signatures
Supported Signatures
Supported Signatures
Supported Signatures
Supported Signatures
Supported Signatures
Supported Signatures
Supported Signatures
โI
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
SDF is now a part of dbt Labs. Get live CTA previews, inline errors, and mesh support natively in the dbt platform. Learn more ยท Migrate to Fusion
current_timefunction current_time() returns time
function current_time(time_zone string) returns time
format_timefunction format_time(string, time) returns string
parse_timefunction parse_time(string, string) returns time
timefunction time(int64, int64, int64) returns time
function time(timestamp) returns time
function time(timestamp, time_zone string) returns time
function time(datetime) returns time
time_addfunction time_add(time, interval microsecond to hour) returns time
time_difffunction time_diff(time, time, date_time_part string) returns bigint
where date_time_part in (microsecond, millisecond, second, minute, hour)
time_subfunction time_sub(time, interval microsecond to hour) returns time
time_truncfunction time_trunc(time, time_part string) returns time
where time_part in (microsecond, millisecond, second, minute, hour)