public static String formatDate(long time) {

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

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

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

		return format.format(calendar.getTime());
	}
public static String formatDate ( long time ) { SimpleDateFormat format = getDateFormat ( ) ; Calendar calendar = getCalendar ( time ) ; return format . format ( calendar . getTime ( ) ) ; }
Formats time to date only
@param time to be formatted (UTC)
@return date formatted yyyy-MM-dd
Formats time to date only