public function setDateStart($datestart = '') { if ($this->_checkDate($datestart)) { $DS = explode('-', $datestart); self::$startDate = mktime(0, 0, 0, $DS[1], $DS[2], $DS[0]); } }