I am trying to parse 14th March 2011 to a date in Java for a time converter application... I get 26th Dec 2010... Please help.
import java.util.*; import jav
YY should be yy (in lower case). You can find the list of available characters and their meaning in the documentation.
YY
yy
Out of curiosity, more information about YY, which is for week year, here (not 100% sure what it is to be honest).