I am a newbie in Python. I want to subtract interval time from my log file, but the problem is I cannot convert millisecond string of log file into datetime format. For example, I have 15:55:05.12345 and I want to remove 5.12345 seconds from this string, and show result of 15.55.00.00000 in Python. How can I do that? Currently, I am using python 2.5.
Thank you in advance.
Sorry, I meant I want to subtract value for example, remove 00:00:05.1000 so, i should get 15:55:00:02345