I have a raw log which print timestamp in format of datetime.datetime(2021, 9, 10, 10, 15, 0, 250362)
.
I believe some conversion has failed in the underlying program (out of my control).
Since it's a string, I can't do it with strftime()
.
Any way I could translate this into a datetime
?