maskedit control automatically changing the year from 0006 to 2006

I am using maskedit

mask ##/##/####

format: mm/dd/yyyy

when I enter 02/02/0006 it changes it to 02/02/2006 but when I trap for a valid date (in my instance it would be => 02/02/2006) and it is really 02/02/0006

So it shows a 2006 but the derlying data is still 0006.

I have not changed any dates via code.

Thanks



Answer this question

maskedit control automatically changing the year from 0006 to 2006

  • Stuart Leitch

    It seems like when I filled out the format property as mm/dd/yyyy it changes the year, when blank it leave's it as 0006 so the user see's the incorrect date.

    Thanks


  • maskedit control automatically changing the year from 0006 to 2006