Pages

Monday, November 15, 2010

Java -=- Parsing a Date Using a Custom Format

DateFormat formatter = new SimpleDateFormat("MM/dd/yy"); 
Date date = (Date)formatter.parse("01/29/02"); 

No comments:

Post a Comment