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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment