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.

DatePicker dValue always with time

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

DatePicker dValue always with time

Mensaje por horvathg »

I have a DatePicker control on my form. I need just the date part from the dValue. The cCustomFormat is "dd.MM.yyyy". I tried different nFormatType settings, dValue valuetype is allways T and returns DateTime value like: 05-13-2015 10:18:56.833.


How to remove the Time part and get just a date?
Working with Xailer 3.3.1
Best regards
Gejza Horváth
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9252
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Re: DatePicker dValue always with time

Mensaje por ignacio »

horvathg escribió:I have a DatePicker control on my form. I need just the date part from the dValue. The cCustomFormat is "dd.MM.yyyy". I tried different nFormatType settings, dValue valuetype is allways T and returns DateTime value like: 05-13-2015 10:18:56.833.


How to remove the Time part and get just a date?
Working with Xailer 3.3.1
Hi,

Try the function HB_TToD( tTimeDate )

Regards
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder