in reply to Re: Date conversion with Class::DBI
in thread Date conversion with Class::DBI
Tell you users that they have to use YYYY-MM-DD and be done with it.Computers are supposed to make things easier. If I told all my users (customers at client sites) they had to enter 'YYYY-MM-DD', most of them would throw fits, and rightfully so, IMHO. The only downside is that we use a 4gl (not perl) for the data entry, and it automatically converts different entered formats, but we don't have complete control over the conversion, and it allows, e.g., '050103' to mean '2003-05-01', which is fine by me, but if (and I mean when) that last '0' is accidentally left out, and they enter '05013', it is interpreted as '0003-05-01'. If they enter '5/1/3' it is interpreted correctly, but they'd rather just use the numbers on the number pad.
And don't ask whether it would be easier for them to enter YYYY-MM-DD rather than have me fix the data when it goes bad... :-)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Date conversion with Class::DBI
by demerphq (Chancellor) on Jul 10, 2003 at 07:50 UTC | |
by runrig (Abbot) on Jul 10, 2003 at 17:41 UTC |