Help with convertig dates to seconds

I am very new to ROOT and I trying to convert dates , which are in a .txt file, in the format yy:dd:mm:hh:mm:ss, to seconds or minutes and seconds. I have read the tutorial but I am not following it very well. What is the best way to go about this?


TTimeStamp should have all what you need.