public static String formatDateTime(long time) {

		SimpleDateFormat format = getTimeFormat();
		Calendar calendar = getCalendar(time);

		return format.format(calendar.getTime());
	}
public static String formatDateTime(long time) {

		SimpleDateFormat format = getTimeFormat();
		Calendar calendar = getCalendar(time);

		return format.format(calendar.getTime());
	}
public static String formatDateTime ( long time ) { SimpleDateFormat format = getTimeFormat ( ) ; Calendar calendar = getCalendar ( time ) ; return format . format ( calendar . getTime ( ) ) ; }
Formats time to String
@param time to be formatted (UTC)
@return date time formatted to yyyy-MM-dd HH:mm:ss Z
Formats time to String