[Lazarus] Detecting X minutes ago.

aradeonas aradeonas at operamail.com
Mon Jun 1 16:08:06 CEST 2015


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150601/d921c0d2/attachment-0003.html>


More information about the Lazarus mailing list