abcd
Monday, June 10, 2013
getCurrentDate in Java
public String getCurrentDate(String format) {
String date = "";
SimpleDateFormat sdf = new SimpleDateFormat(format);
date = sdf.format(new Date());
return date;
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment