I am studing.Module no.15 -Part 3.
I am trying whatever the trainer is doing on my own.
But after parsing the string date i stored it in Date variable and when i am printing it. the Date is printed wrong.
I have pasted the complete code. Can you please give the solution. Because i have the exact same code as trainer but i am getting wrong output in console.
Thanks for reply.
ok use this
[quote:37p2a86v] SimpleDateFormat formatter = new SimpleDateFormat("dd/MM/yyyy");[/quote:37p2a86v]
for more information
http://stackoverflow.com/questions/5580965/java-date-formatter