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
Outlook 2003 stays disconnected from exchange server
Routing and Remote Access on Windows SBS 2003 - Troubleshooting failed VPN connections
Embed OWA login in website
Multiple MX IPs, SMTP connectors on one Exchange server
SQL to Insert
SQL Reporting Services - UK Date Format and Parameters
How to configure MySQL service to execute an opional my.ini file after the default ini file has been loaded
Backup to disk Hardware suggestions
the server was not able to initialize the client management virtual driver
Browser failed errors in Event Log. XPPro peer to peer workgroup.