Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
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_time
function current_time() returns time function current_time(time_zone string) returns time
format_time
function format_time(string, time) returns string
parse_time
function parse_time(string, string) returns time
time
function 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_add
function time_add(time, interval microsecond to hour) returns time
time_diff
function time_diff(time, time, date_time_part string) returns bigint where date_time_part in (microsecond, millisecond, second, minute, hour)
time_sub
function time_sub(time, interval microsecond to hour) returns time
time_trunc
function time_trunc(time, time_part string) returns time where time_part in (microsecond, millisecond, second, minute, hour)