Use Input Masks To Control How Dates. Here are the symbols you can use n and m represent numeric values. I have tried several combinations but I cant seem to get the right one.
When two digits are entered the caret moves to the day number. I think a better way to go about it is to let the user input whatever they want and do all the masking behind the scenes. Local time Today 1538 Joined Jan 23 2006 Messages 13677.
Two more digits bring the caret to the last year segment.
The resulting value includes the year month and day. In a table I want to store a date in the format YYYYMM. If you use a DateTime Field then you should only need to set the Format Property of the TextBox Control to hnn without the double-quotes. By default it looks like _________.