private String getToday(){
String strToday="";
Date date = new Date();
//Format formatter = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
Format formatter = new SimpleDateFormat("yyyy_MM_dd_HH_mm");
strToday = formatter.format(date);
return strToday;
}
Wednesday, February 28, 2007
java date format
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment