public function set_date_created($timestamp) { $this->set_prop('date_created', is_numeric($timestamp) ? $timestamp : strtotime($timestamp)); }