Ошибка (Error): Call to a member function getDateTimeStamp() on string