Ver Mensaje Individual
  #5  
Antiguo 13-11-2014
Avatar de roman
roman roman is offline
Moderador
 
Registrado: may 2003
Ubicación: Ciudad de México
Posts: 20.269
Reputación: 10
roman Es un diamante en brutoroman Es un diamante en brutoroman Es un diamante en bruto
A ver esta:

Código Delphi [-]
function LastDay(Year, Month: Integer): TDate;
begin
  Result := EncodeDate(Year + (Month div 12), (Month mod 12) + 1, 1) - 1;
end;

// Saludos
Responder Con Cita