>>>Ni Nadya,
>>>
>>>the difference is the Format = "KD". If you remove the "D" you can edit the time.
>>>
>>I figured this already. But without D format you can type anything. I'm now playing with Inputmask. This 99/99/9999 99:99:99 seems to work, though I'm not sure, how to switch between am/pm. But it would make my class to be set('date') dependent.
>
>
>I tried this on the inputmask and it worked fine:
>99/99/9999 99:99:99 AA
>
>The AM disappears once you start typing, but defaults to AM if nothing is entered.
>
>-mike
Mike,
The problem here that this format is set('date') dependent. What if I'm using 01-01-2004 format? Also AA allows to enter any letter, and I need to allow only AM or PM. Moreover, it depends, am I using military time format or not.
If it's not broken, fix it until it is.
My Blog