Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@BindingConversion
public static String convertDateToDisplayedText(Date date) {
return new SimpleDateFormat("yyyy:MM:dd").format(date);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment