code: public String dateToStringDateFormat(Date date)
     {
         if (date == null)
             return null;
         return gDateFormat.format(date);
     }
docs: Convert this date to the standard string date format.
  which is yyyy-MM-dd.
  @param date
  @return