Oracle epoch extraction doesn't work with dates

Description

A select epoch(e.date) from Entity e doesn’t work when date is an actual date type on Oracle.

We need to change the extraction pattern based on the type of the expression to trunc((cast(from_tz(cast(d1_0.creationDate as timestamp),'UTC') as date) - date '1970-1-1')*86400)

Activity

Show:

Details

Assignee

Reporter

Labels

Affects versions

Priority

Created November 10, 2024 at 4:15 PM
Updated December 4, 2024 at 8:45 AM