Date input mask

A

Andrew Clark

Hello,

I am trying to create an input mask that for a date field that will display
only the month and year. I used
L<LL\-00;0;_

but when I enter Feb-05 for month-year, it gives me 2/05/2005. Is there any
way to create a mask for only the month and year?

Thanks,
Andrew
 
S

Steve Schapel

Andrew

A date has to have a Day component... otherwise it's not a date. If you
want to have the dates entered always be the same day of the month, for
example the 1st, you might try an input mask like this...
\1-#0&0000!

But more likely, you would be best to not use a date/time field in this
case. Consider using 2 separate number fields for month and year.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top