Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.sql.Date;
import java.text.SimpleDateFormat;

public class Main {
    private static SimpleDateFormat df = new SimpleDateFormat("MMMM yyyy");

    public static void main(String[] args) {

        Date oneDate = new Date(new java.util.Date().getTime());
        System.out.println(df.format(oneDate));
    }

}