MySQL timestamp integer conversion
- September 13th, 2021
- Posted in Documentation
- Write comment
This will output two columns. One is the original time as an integer and the second as YYYY-MM-DD hh:mm:ss.
select TIMESTAMP, from_unixtime(TIMESTAMP) from my_table;
No comments yet.