/**
  * Returns the creation date of the record as DateTime object.
  *
  * @return DateTime
  */
 public function getLastModifyDateTime($timezone = NULL)
 {
     $datetime = NULL;
     $tableName = $this->getTableName();
     if (!empty($tableName)) {
         $field = tx_rnbase_util_TCA::getTstampFieldForTable($tableName);
         if (!$this->isPropertyEmpty($field)) {
             $tstamp = (int) $this->getProperty($field);
             tx_rnbase::load('tx_rnbase_util_Dates');
             $datetime = tx_rnbase_util_Dates::getDateTime('@' . $tstamp);
         }
     }
     return $datetime;
 }
 /**
  * Liefert ein Datumsobjekt anhand eines Strings im XML.
  * @param string $path
  * @return DateTime
  */
 public function getDateTimeFromPath($path)
 {
     $date = $this->getValueFromPath($path);
     tx_rnbase::load('tx_rnbase_util_Dates');
     $date = tx_rnbase_util_Dates::getDateTime($date);
     return $date;
 }