Open Holmes-rgb opened 6 days ago
When the file is run python returns the error
datetime_convert.py", line 4, in date_obj = datetime.strip(datetime, '%m-%d-%Y %H:%M:%S') AttributeError: type object 'datetime.datetime' has no attribute 'strip'
the issue is that the function should be .striptime() and make sure to print the formatted time
When the file is run python returns the error
datetime_convert.py", line 4, in
date_obj = datetime.strip(datetime, '%m-%d-%Y %H:%M:%S')
AttributeError: type object 'datetime.datetime' has no attribute 'strip'