Código
function redat(mcad : string):string;
var
ts1,ts2,ts3,tsdat : string ;
begin
ts1:= copy(mcad,1,2) ;
ts2:= copy(mcad,4,2);
ts3:= copy(mcad,7,4) ;
tsdat:= ts2+'/'+ts1+'/'+ts3;
result:= tsdat;
end;
Planeta Delphi - www.planetadelphi.com.br - Todos os direitos reservados | Copyright 2001-2009