A column in one of my tables is DATE and currently it gets automatically filled with a timestamp of when the row was made. The timestamp looks like 2013-02-10 19:56:12. Is there anyway I can have it timestamp with the unix epoch automatically? I hope this makes sense. I’m still a beginner when it comes to mysql.
Share
if you want to project (select)
TIMESTAMPintoUNIXformat, useUNIX_TIMESTAMP(date)UNIX_TIMESTAMP() MySQL Docs
SQLFiddle Demonstration