|
Re: Date parsing
|
Posted: Mar 3, 2004 4:47 AM
|
|
> > Two questions (one rhetorical): > > 1) Why doesn't everyone accept ISO format date > strings? > Legacy, and because of the many regional differences. > Also, many endusers aren't aware of the fact they should > use nice ISO standardised date formats and will type in > any garbage and expect the software to understand it.
Ah I agree entirely, except that this is going to be an automated computer-to-computer process (no UI) to a foreign government's computer system via a brand new process specifically designed for internation use
> To hit you for your own program, why do you convert into a local format and not ISO standard :)
That's how 'they' want to receive it.
> > 2) Do the java libraries already contain a suitable > > parsing/conversion method for date strings? > > > Yes. Take a look at SimpleDateFormat.
Excellent.
Thanks, Vince.
|
|