Created
February 25, 2019 20:24
-
-
Save flinox/aa2e9ccc01d5186b213e0a3c9a7f6fd5 to your computer and use it in GitHub Desktop.
Oracle: Get the date from a unix epoch value
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select to_date('19700101','YYYYMMDD') + ( 1 / 24 / 60 / 60 / 1000) * <value_unix_epoch> from dual; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment