Returns the current timestamp as a string with the following format: 'YYYY-MM-DD HH:MM:SS'.
public getDatetime ( ) : string | ||
return | string |
private function updateSiteCreatedTime($idSite, Date $timestamp) { $this->sitesManagerModel->updateSiteCreatedTime(array($idSite), $timestamp->getDatetime()); Cache::deleteCacheWebsiteAttributes($idSite); }