Skip to content

unix_timestamp

function unix_timestamp(column?, format?): Column;

Defined in: functions/datetime.ts:127

Converts a given timestamp or string to the number of seconds since the Unix epoch.

Parameter Type Default value
column? ColOrName undefined
format? string "yyyy-MM-dd HH:mm:ss"

Column