Mar 25, 2018, 11:25 PM
Post #3 of 3
I don't think it is a problem for AI, it is more a problem for a parser. But this might be overkill.
Re: [ogit2] Date and time format
[In reply to]
Otherwise, a possibility would be to roll out a series of reguar expressions, e.g. one per possible input format.
But the real solution might be to force the user to enter the right (i.e. expected) format by asking her or him to enter one piece of data at a time, such the day, then the month, then the year, then the time of day.