You should create two variables of SimpleDateFormat and use it for date conversion. Here is code example:
import java.text.SimpleDateFormat
SimpleDateFormat inputFormat = new SimpleDateFormat("MMM dd, yyyy", Locale.ENGLISH)
SimpleDateFormat outputFormat = new SimpleDateFormat("dd.MMMMM.yyyy", Locale.ENGLISH)
outputFormat.format(inputFormat.parse("Dec 01, 2018"))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.