code: public String getDateTime(long time) {
  
          return CmsDateTimeUtil.getDateTime(new Date(time), CmsDateTimeUtil.Format.SHORT);
      }
docs: Returns a formated date and time String from a timestamp value,
  the format being {@link CmsDateTimeUtil.Format#SHORT} and the locale
  based on this instance.<p>
  
  @param time the time value to format as date
  @return the formatted date and time