Jesper Young wrote:Try "yyyyMMdd" as the format string for SimpleDateFormat.
So, CCYYDDMM is same as yyyyMMdd???
Well, you are supposed to tell us. We don't know what CCYYDDMM is. But yyyyMMdd means 4 digits for the year (ie. 2009), followed by two digits for the month, followed by two digits for the day ... is that the same as CCYYDDMM?