'NoneType' object has no attribute 'strftime' code example Example: AttributeError: 'NoneType' object has no attribute 'format' print "{} World".format('Hello')