I have a table with the column create_time which is of type INTEGER and represents the time since epoch.
I’d like to select all rows and columns, while displaying this row as a date/time in UTC format.
How do I do that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use FROM_UNIXTIME to convert seconds since epoch to a DATETIME, which also allows you specify a format: