PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD7.5v205su - Edit control] Date input: 01/01/1999
[WD7.5v205su - Edit control] Date input: 01/01/1999
Iniciado por gpredl, 30,ago. 2003 10:58 - 1 respuesta
Publicado el 30,agosto 2003 - 10:58
Edit control defined for Date input with a mask of DD/MM/YYYY
To my big surprise, input of 01/01/1999 yields 01/01/2099 as a result and of course, my software is angry about that. Is that for real? Any cure?
Regards,
Guenter
Publicado el 30,agosto 2003 - 11:06
Hey, it does that funny thing only while the result field is YYMMDD instead of YYYYMMDD. I thought, it would just cut off the '19' from '1999'. No, its cutting that off, adds a '20' and puts that back to display into the edit control. Bottom line: If you want to input dates of 2000 and before, you have to use a result field of YYYYMMDD, no way out.
Regards,
Guenter

Edit control defined for Date input with a mask of DD/MM/YYYY
To my big surprise, input of 01/01/1999 yields 01/01/2099 as a result and of course, my software is angry about that. Is that for real? Any cure?
Regards,
Guenter