R/duckdb-funs.R
hour.Rd
Extract the hour component from a date or timestamp.
hour(ts)
DATE | INTERVAL | TIME | TIMESTAMP | TIME WITH TIME ZONE | TIME_NS | TIMESTAMP WITH TIME ZONE
BIGINT
hour(timestamp '2021-08-03 11:59:44.123456')