Hey, I am working on this project where an user enters a time(HH:MM:SS) in an edit box. Once they click the send time button, I retrieve the CString(11:34:45). After retrieving I want to store hours(11) in a variable, mintues(34) in a variable, and seconds(45) in a variable. I have tried GetBuffer, but have not had any luck. Does any one know how to to do this? Any help will be greatly appreciated.