code: private void _serializeDateTime(DateTime dateTime, StringBuilder sb) {
  
  	Calendar c = JREDateTimeUtil.getThreadCalendar(ThreadLocalPageContext.getTimeZone());
  	c.setTime(dateTime);
  	sb.append(goIn());
  	sb.append("new Date(");
  	sb.append(c.get(Calendar.YEAR));
  	sb.append(",");
  	sb.append(c.get(Calendar.MONTH));
  	sb.append(",");
  	sb.append(c.get(Calendar.DAY_OF_MONTH));
  	sb.append(",");
  	sb.append(c.get(Calendar.HOUR_OF_DAY));
  	sb.append(",");
  	sb.append(c.get(Calendar.MINUTE));
  	sb.append(",");
  	sb.append(c.get(Calendar.SECOND));
  	sb.append(");");
      }
docs: serialize a DateTime
  
  @param dateTime DateTime to serialize
  @param sb
  @param sb
  @throws ConverterException