I have a column with the DATETIME format and I would like to convert it to UNIXTIME in the database. What kind of query would that be?
I know how to convert from UNIXTIME to DATETIME, but I've never done the reverse. I've used FROM_UNIXTIME, is there no TO_UNIXTIME?