MinuteSpan
Adam Boduch
MinuteSpan
Moduł: DateUtils
program FooApp;
{$APPTYPE CONSOLE}
uses
SysUtils, DateUtils;
var
Foo : Double;
Bar : Integer;
begin
Foo := MinuteSpan(Now, EncodeDate(2006, 06, 30));
Bar := MinutesBetween(Now, EncodeDate(2006, 06, 30));
Writeln('Różnica w minutach: ' + FloatToStr(Foo));
Writeln('Różnica w minutach: ' + IntToStr(Bar));
Readln;
end.
Zobacz też: