Código Delphi [-] function DateOf(const AValue: TDateTime): TDateTime; begin Result := Trunc(AValue); end;
function DateOf(const AValue: TDateTime): TDateTime; begin Result := Trunc(AValue); end;