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
horvathg
Posts: 10
Joined: Mon Jan 06, 2014 2:49 pm

TDatePicker dValue problem

Postby horvathg » Sun Mar 30, 2014 10:40 pm

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
User avatar
ignacio
Site Admin
Posts: 8555
Joined: Mon Apr 06, 2015 8:00 pm
Location: Madrid, Spain
Contact:

TDatePicker dValue problem

Postby ignacio » Mon Mar 31, 2014 10:07 am

horvathg escribió el dom, 30 marzo 2014 22:40
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?

With Harbour:
Hb_TtoD( tDateTime )
With xHarbour:
TtoD( tDateTime )
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
horvathg
Posts: 10
Joined: Mon Jan 06, 2014 2:49 pm

TDatePicker dValue problem

Postby horvathg » Mon Mar 31, 2014 9:25 pm

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

Return to “English”