code: public String getDateTime(Date date, CmsDateTimeUtil.Format format) {
  
          return CmsDateTimeUtil.getDateTime(date, format);
      }
docs: Returns a formated date and time String from a Date value,
  the formatting based on the provided option and the locale
  based on this instance.<p>
  
  @param date the Date object to format as String
  @param format the format to use, see {@link CmsDateTimeUtil.Format} for possible values
  @return the formatted date and time