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

		Assert.notNull(time, "Missing time!");
		return DATE_FORMAT.format(time);
	}
public static String formatDate(Instant time) {

		Assert.notNull(time, "Missing time!");
		return DATE_FORMAT.format(time);
	}
Formats time to date only

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