getDatetime() публичный Метод

Returns the current timestamp as a string with the following format: 'YYYY-MM-DD HH:MM:SS'.
public getDatetime ( ) : string
Результат string
 private function updateSiteCreatedTime($idSite, Date $timestamp)
 {
     $this->sitesManagerModel->updateSiteCreatedTime(array($idSite), $timestamp->getDatetime());
     Cache::deleteCacheWebsiteAttributes($idSite);
 }