public String formatDateTime(Date d){
  return d.toString();
}

public String formatDateTime ( Date d ) { return d . toString ( ) ; }
formats a date and a time in a default form e . g . 1 / 1 / 2011 10 : 00am
