Is there anyone sitting on a PHP function to convert a date of format 0000-00-00 00:00:00(datetimesql) to unix timestamp?
Use strptime() to parse the time and turn it into a structured array.
strptime()
Then pass the results of that into the mktime() function to get a UNIX timestamp.
mktime()