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

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

		Instant instant = Instant.ofEpochMilli(time);
		return formatDateTime(instant);
	}
Formats time to String

@param time to be formatted (UTC) in milliseconds
@return date time formatted to yyyy-MM-dd HH:mm:ss Z