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