code: public static String getValueAsString(Object value, FacesContext ctx, DateTimePicker dtp) {
  		// Else we use our own converter
  		if(value == null) {
  			return null;
  		}
  		Locale sloc = BsfUtils.selectLocale(ctx.getViewRoot().getLocale(), dtp.getLocale(), dtp);
  		String javaFormatString = BsfUtils.selectJavaDateTimeFormatFromMomentJSFormatOrDefault(sloc, dtp.getFormat(), dtp.isShowDate(), dtp.isShowTime());
  
  		return getDateAsString(ctx, dtp, value, javaFormatString, sloc);
  	}
docs: Yields the value which is displayed in the input field of the date picker.
  @param ctx
  @param dtp
  @return