-2

I need convert this integer "1469416462" to datetime in format dd-mm-yyyy hh:mm:ss . Any ideas?

My Intent:

select CONVERT (datetime,1469416462)
JJJ
  • 32,246
  • 20
  • 88
  • 102

1 Answers1

0

The value 1469416462 looks like a Unix-Timestamp.
Unix-Timestamp: Seconds since 1.1.1970
So the solution would be easy like:

For MySQL:

SELECT from_unixtime(1469416462) 
Esteban P.
  • 2,739
  • 2
  • 24
  • 42