/** * convert a MDB timestamp into a unix timestamp * * @param integer $mdb_timestamp a valid MDB timestamp * @return string unix timestamp with the time stored in the MDB format * @access public */ function mdbstamp2Unix($mdb_timestamp) { $arr = MDB_Date::mdbstamp2Date($mdb_timestamp); return mktime($arr['hour'], $arr['minute'], $arr['second'], $arr['month'], $arr['day'], $arr['year'], 0); }