/**
  * Returns our begin date and time as a UNIX timestamp.
  *
  * @return int our begin date and time as a UNIX timestamp or 0 if
  *                 we don't have a begin date
  */
 public function getBeginDateAsTimestamp()
 {
     if (!$this->hasTimeslots()) {
         return parent::getBeginDateAsTimestamp();
     }
     $result = 0;
     $dbResult = $GLOBALS['TYPO3_DB']->exec_SELECTquery('MIN(tx_seminars_timeslots.begin_date) AS begin_date', 'tx_seminars_timeslots', 'tx_seminars_timeslots.seminar = ' . $this->getUid() . tx_oelib_db::enableFields('tx_seminars_timeslots'));
     if ($dbResult) {
         if ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($dbResult)) {
             $result = $row['begin_date'];
         }
     }
     return $result;
 }