date checking doubt
Posted: Tue Jul 31, 2007 5:01 am
Dear,
If, instead of 13-01-2003, the user writes 13/01/2003, the system must show an error message.
If, instead of 13-01-2003, the user writes 13-01-03, the system must show an error message.
If, instead of 13-01-2003, the user writes 2003-01-13, the system must show an error message.
And so on…
The error message could be something like:
“Attention! The inserted date is not in the correct format.”
if we enter in one text bow the date, it should check the date.
how i can resolve this, please help me.
Regards,
avmohan
If, instead of 13-01-2003, the user writes 13/01/2003, the system must show an error message.
If, instead of 13-01-2003, the user writes 13-01-03, the system must show an error message.
If, instead of 13-01-2003, the user writes 2003-01-13, the system must show an error message.
And so on…
The error message could be something like:
“Attention! The inserted date is not in the correct format.”
if we enter in one text bow the date, it should check the date.
how i can resolve this, please help me.
Regards,
avmohan