public function ToPropertyValue($PersistedValue) { $DateTime = new \DateTime(); $DateTime->setTimestamp($PersistedValue); return $DateTime; }