/** * generates the date that will be used in the file name. * mainly used to determine if the file has changed. * @param Event $event the event that will be logged. * @return string the date converted into the correct format. */ public function getDate(Event $event) { return date($this->timespan, $event->getDate()); }