Ver Mensaje Individual
  #1  
Antiguo 20-02-2004
jpcancino jpcancino is offline
Miembro
 
Registrado: ene 2004
Posts: 47
Reputación: 0
jpcancino Va por buen camino
obtener hora de un datetimepicker

¿como se hace?

a una variable s tipo string le asigno el tiempo de la siguiente forma:

s:=timetostr(datetimepicker1.time);

pero me da la fecha y la hora, y al poner:

s:=timetostr(datetimepicker1.DateTime);

Entonces ¿cómo se obtiene la hora?
Responder Con Cita