9 int dDate, dHour, dMin;
12 if((TimeTravel = (FromTime > ToTime)))
19 dDate = (ToTime >> 16) - (FromTime >> 16);
20 dHour = ((ToTime >> 8) & 0xff) - ((FromTime >> 8) & 0xff);
21 dMin = (ToTime & 0xff) - (FromTime & 0xff);
35 ret = (dDate * 1440 + dHour * 60 + dMin) * (TimeTravel ? -1 : 1);
long TimeDiff(dword FromTime, dword ToTime)