Minggu, 24 Mei 2009

Script Untuk Menampilkan Kalender Dalam Java

import java.until.Calendar;

public class kalender {
public static void main (String[] args) {

string [] bulan = {"Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"};

Calendar kalender = calendar.getInstance();
int tgl = kalender.get(Calendar.Date);
int bln = kalender.get(Calendar.Month);
int thn = kalender.get(Calendar.Year);

System.out.print(tgl + "," + bulan[bln] + "," + thn);
}
}


Artikel Yang Bersangkutan



Template by : kendhin x-template.blogspot.com