Billing and Revenue Management (MOSC)

MOSC Banner

Epoch to Readable Format in SQL statement

edited Nov 17, 2014 10:02AM in Billing and Revenue Management (MOSC) 1 commentAnswered

I have found one way to directly translate epoch to readable format for SQL statement.

select to_timestamp_tz('1970-01-01 utc', 'yyyy-mm-dd tzr')+numtodsinterval(epochcolumn,'second') from tablename

Is there any other way to do this?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center