I need to convert a list in seconds in Python. The list is the following:
[27.0, 2.0, 2019.0, 19.0, 59.0, 59.99]
That are day, month, year, hours, minutes, seconds.
I tried to use datetime.strptime after converting it in a string, but it returns the error ValueError: time data '...' does not match format...