Java tutorial
//package com.java2s; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Locale; public class Main { public static String getDateString(Calendar date) { SimpleDateFormat format = new SimpleDateFormat("d MMMM yyyy", Locale.getDefault()); return format.format(date.getTime()); } }