Hi, Here is a simple way : > T:=Now()- StrToTime('00:05:00');
or more profesional way : > //add dateutils to uses > T:=IncMinute(Now(),-5); Regards, Ara -- http://www.fastmail.com - The professional email service
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus