function bet(ctime, begtime, endtime: Ttime): boolean;
begin
result:= (frac(ctime)>frac(begtime)) and (frac(ctime)<frac(endtime));
end;
//frac:取double中的小数部分
终极解答,最近还好?
function bet(ctime, begtime, endtime: Ttime): boolean;
begin
result := (Frac(ctime) > Frac(begtime)) and (Frac(ctime) < Frac(endtime));
end;