In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

TDatePicker dValue problem

Xailer professional forum in English
Responder
horvathg
Mensajes: 10
Registrado: Lun Ene 06, 2014 2:49 pm

TDatePicker dValue problem

Mensaje por horvathg »

The dValue property of the TDatePicker control allways returns for me a DateTime value e.g. 03-30-2014 19:14:18.663.
Setting different values in the nFormatType does has no effect.
How can I get only the date part of the dValue?
Best regards
Gejza Horváth
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9441
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TDatePicker dValue problem

Mensaje por ignacio »

horvathg escribió el dom, 30 marzo 2014 22:40The dValue property of the TDatePicker control allways returns for me a DateTime value e.g. 03-30-2014 19:14:18.663.
Setting different values in the nFormatType does has no effect.
How can I get only the date part of the dValue?

With Harbour:
Hb_TtoD( tDateTime )
With xHarbour:
TtoD( tDateTime )
Regards,
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
horvathg
Mensajes: 10
Registrado: Lun Ene 06, 2014 2:49 pm

TDatePicker dValue problem

Mensaje por horvathg »

Thanks, Ignacio
Hb_TtoD( tDateTime ) solved my problem.
Best regards
Gejza Horváth
Responder