المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Date / Time Class



C++ Programming
03-29-2012, 01:00 PM
I need to find the best time class to use with a program that works with a date/time number in the following format: yyyy.mm.dd hh:mm:ss.ms. Essentially, I am reading values from a flat file (CSV) into a variable and then working with the variable. Does anyone out there know the best class to use? I have researched CFileTime and CTime classes. I do not know if functions within are the best for manipulating time. CTime has been ruled out because it does not accomodate milliseconds. Are there other classes I am not aware of? Lastly is there any references (links) showing how the functions are used.

The overall application involves exporting the applicable function through a DLL into an MQL4 script.