Well, I'm going to guess you're using Windows, whose date/time functions can't tolerate anything before Jan 1, 1970.
$excel_timestamp = whatever-25567; // 1970-01-01 is day 25567.
$php_timestamp = mktime(0,0,0,1,$excel_timestamp,1970); // No, really - this works!
$mysql_timestamp = date('Y-m-d', $php_timestamp); // Or whatever the format is.
If you're running on a Unix system subtracting seventy years isn't necessary:
to
$excel_timestamp = whatever;
$php_timestamp = mktime(0,0,0,1,$excel_timestamp,1900);
$mysql_timestamp = date('Y-m-d', $php_timestamp);
(Incidentally, I'm assuming that Excel uses '1' to denote 1900-01-01.)