code: public String marshal( Date value )
      {
          Timestamp timeStampDate = new Timestamp( value.getTime() );
          return timeStampDate.toString();
      }
docs: Marshal a Date to a String for use by JAXB.
  
  @param value Date object to marshal.
  @return String form of date.