Use return new SimpleDateFormat("MMMMM").format(date); to get month Please do relevant null checks as well.