code: public static String formatDateUTC(Date time) {
          // Map date/time to a GregorianCalendar object (GMT time zone).
          GregorianCalendar date = new GregorianCalendar(UTC_TIMEZONE);
          date.setTimeInMillis(time.getTime());
          return formatDate(date);
      }
docs: Format a Date value as "YYYY-MM-DD HH:mm:ss". This method creates a
  GregorianCalendar object using the GMT time zone and then calls
  {@link #formatDate(Calendar)}.
  
  @param   time    Date value.
  @return          "YYYY-MM-DD HH:mm:ss".