use \VuFind\Date\Converter for working with dates
use SimpleXMLElement class for creating XML