> Hi,
> I will get a string with different date format
> pattern
> it may be dd:MM:yyyy or yyyy:MM:dd or dd:MM:yyyy
>
> by using SimpleDateFormat how can i convert it into a
> date of format MM:dd:yyyy irrespective of the input
> string I am getting.
>
> Any help?
Which format would 01:02:2007 be in?
> > Hi,
> > I will get a string with different date format
> > pattern
> > it may be dd:MM:yyyy or yyyy:MM:dd or dd:MM:yyyy
> >
> > by using SimpleDateFormat how can i convert it into
> a
> > date of format MM:dd:yyyy irrespective of the
> input
> > string I am getting.
> >
> > Any help?
>
> Which format would 01:02:2007 be in?
yes this is true..
> > > Hi,
> > > I will get a string with different date format
> > > pattern
> > > it may be dd:MM:yyyy or yyyy:MM:dd or dd:MM:yyyy
> > >
> > > by using SimpleDateFormat how can i convert it
> into
> > a
> > > date of format MM:dd:yyyy irrespective of the
> > input
> > > string I am getting.
> > >
> > > Any help?
> >
> > Which format would 01:02:2007 be in?
>
>
> yes this is true..
Then how are you going to handle the situation of this ambiguous input?