src/main/java/com/zandero/utils/InstantTimeUtils.java
public static String formatDate(long time) {

		Instant instant = Instant.ofEpochMilli(time);
		return DATE_FORMAT.format(instant);
	}
public static String formatDate(long time) {

		Instant instant = Instant.ofEpochMilli(time);
		return DATE_FORMAT.format(instant);
	}
Formats time to date only

@param time to be formatted (UTC) in milliseconds
@return date formatted yyyy-MM-dd