C ++ time difference function calculates daylight saving time?
If I use the C ++ timediff function to smooth out the difference between 2 times and a later time, after changing the time to save daylight, the size difference is obtained.
eg. I have a time of 23:00 and a time of 11:00. Time changes in the middle of this time, that is, it goes forward by one hour.
Will I get 12 hours or 11 differences?
+3
source to share