database wants datetime not date for archive_begin