Millennium detection code would fail for years prior 1000 AD ` millenium = str(self.date.year + 1000)[:1]`