Saturday, March 17, 2012

Date into Day tutorial


convert date into day

SimpleDateFormat inFormat = new SimpleDateFormat("dd-MM-yyyy");
  Date date = inFormat.parse(Yourdate);
  SimpleDateFormat outFormat = new SimpleDateFormat("EEEE");
  String goal = outFormat.format(date); 

No comments: