Mysql Convert DateTime to UnixTime

Try this Query for CONVERT DATETIME to UNIX TIME STAMP

This Query for CHANGE DATE FORMATE