Created
October 28, 2020 13:28
-
-
Save ryanthames/aa68b1473e5a9db3159e7fe0da7ea5e8 to your computer and use it in GitHub Desktop.
Convert milliseconds to timestamp in oracle
This file contains hidden or 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_char(to_date('1970-01-01 00', 'yyyy-mm-dd hh24') + (1601921560000)/1000/60/60/24, 'YYYY-MM-DD HH12:MI:SS am') datestr from dual; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment