Hi all,
I am trying to make a date with this code:
System.out.println(date);
try {
urlDate = new SimpleDateFormat("dd-MMM-yy").parse(date);
} catch (ParseException e) {
e.printStackTrace();
}
I get this output:
29-MAY-08
java.text.ParseException: Unparseable date: "29-MAY-08"
at java.text.DateFormat.parse(Unknown Source)
at app.ImageManip2D.init(ImageManip2D.java:89)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
The strange thing is that it work's on some pc, but at my pc at home I get this error.
What could this be?