// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import java.text.*;
import java.util.*;

public class DateFormatDemo {
    public static void main(String[] args) {
        DateFormat df = new SimpleDateFormat("dd MMM yyyy HH:mm:ss ZZZZZ");
        System.out.println(df.format(new Date()));
    }
}
