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?
|