Hi

I have a file where each line contains the following timestamp format:
MMM DD HH:MM:SS.MMM

I want to read this in and normalize the time and pass it along in seconds.

I am using the following at the moment. However it doesn't support milliseconds.
CTime time( m_year, month, day, hour, min, sec)

I read in first timestamp, save it in "firstTimeStamp" and then pass the rest of the line for processing with timestamp 0.

For any lines after that, I read in the timestamp, subtract "firstTimeStamp" using CTimeSpan and pass long.

Ideas on how I can include the milliseconds?

Thanks