注意时间差为CTimeSpan类对象,其提供了
GetDays —— Returns the number of complete days in this CTimeSpan.
GetHours —— Returns the number of hours in the current day (–23 through 23).
GetTotalHours —— Returns the total number of complete hours in this CTimeSpan.
GetMinutes —— Returns the number of minutes in the current hour (–59 through 59).
GetTotalMinutes —— Returns the total number of complete minutes in this CTimeSpan.
GetSeconds —— Returns the number of seconds in the current minute (–59 through 59).
GetTotalSeconds —— Returns the total number of complete seconds in this CTimeSpan.
这些函数用于获得时间的差值!