请看下面的代码:
var
tmp1:tdatetime;
dd:string;
begin
tmp:=strtotime('00:50:00');
stp:='00:00:05';
tmp1:=tmp+strtotime(stp);
dd:=timetostr(tmp1);
end;我想将两个时间相加使dd为'00:50:00'该如何写代码?
现在的dd为空。