Microsoft
Software
Hardware
Network
Question : Convert UNIX_TIMESTAMP column into Datetime
Hello,
Im trying to convert detes in my existing mysql column which is is UNIX_TIMESTAMP int(9) into datetime.
There are thousands of values i need to convert. I wonder if there is a SQL query that i can run to convert all these values into their datetime equals, or some other alternatives..
Thank You..
Answer : Convert UNIX_TIMESTAMP column into Datetime
You can use FROM_UNIXTIME function..
mysql> SELECT FROM_UNIXTIME(1196440219);
-> '2007-11-30 10:30:19
Random Solutions
Firefox 2 (two) moving Cache
ODBC Access Driver - Connection for viewing linked Excel worksheet lost AND "File Now Available" pop up
Add individual members to Query-Based Distribution Group?
How to I figure when to charge sales tax and how much?
Scan text for a specific word and print surrounding text
Interview questions for the position of Online line marketing manager
Hardware wizard keeps trying to install a non existant USB printer after every reboot.
Permanent Failure: Other address status
Device Manager is Blank
How to check if value in a list in Perl?