Description: 2.CTime CTime default constructor does not initialize the members, so this creates an object, and thus generally do not like to use there might be problems with the GetDayOfWeek () should pay attention to returns the value 1 = Sunday, 2 = Monday, to 7 = Saturday calculate the time difference between two dates can be directly subtract CTime t1, t1 CTimeSpan ts = t1-t2 ts of a time difference between two dates, class
- [CTime] - CTime: VC++ Preparation timer procedures
File list (Check if you may need any files):
TestTime\ReadMe.txt
........\resource.h
........\StdAfx.cpp
........\StdAfx.h
........\TestTime.clw
........\TestTime.cpp
........\TestTime.dsp
........\TestTime.dsw
........\TestTime.h
........\TestTime.plg
........\TestTime.rc
........\TestTimeDlg.cpp
........\TestTimeDlg.h
........\res\TestTime.ico
........\...\TestTime.rc2
........\res
TestTime