Originally posted by shan javan: java.util.Date dtTmp = new SimpleDateFormat("month dd, yyyy").parse(strTmp);
Looking at SimpleDateFormat, I believe you want "MMM dd, yyyy". "MMMM" represents the full name, "MMM" the abbreviated three-letter name. It sees "month" as "m" the minute within the hour, "ont" as four unknown symbols, and "h" as the hour in the day.
Joined: Nov 22, 2008
Any date format I want to convert it into mm/dd/yyyy format? How to do that?
How do I know what format the user has entered? [ October 07, 2004: Message edited by: shan javan ]
Joined: Aug 07, 2003
Originally posted by shan javan: Any date format I want to convert it into mm/dd/yyyy format? How to do that?