MySQL dates are in the form YYYY-MM-DD HH:MM:SS (the time is optional, it will assume midnight on that day). UNIX times are either seconds or milliseconds since midnight on January 1st, 1970.