array05.java Source code

Java tutorial

Introduction

Here is the source code for array05.java

Source

import java.util.Date;
import java.text.SimpleDateFormat;

class array05 {
    public static void main(String[] args) {
        SimpleDateFormat sf = new SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss Z");
        System.out.println(sf.format(new Date()));
    }
}