I’ve searched around but not found something that will help with this. I want to be able to allow the user to enter partial dates and other shourtcuts, and have them correctly transformed into a date.
eg
0403 ==> 04/03/06 (the current year is added)
11 ==> 11/04/06 (the current year and month are added)
4.6.05, 4/6/05, correctly displayed
t ==> today
y ==> yesterday
before I start writing a method to do this, can anyone point me to an existing utility?
How do we test if a valid date is entered?
Thanks ++