±Û¾´ÀÌ :¿Í´Ï 1999³â 10¿ù 25ÀÏ 19:13:05
In Reply to: [Áú¹®]ÀÚ¹Ù¿¡¼ "³âµµ-¿ù-ÀÏ" ¾Ë¾Æ³»±â! posted by ÀÓÁö¼ø on 1999³â 10¿ù 23ÀÏ 22:58:07:
//Gets a calendar using the default time zone and locale
Calendar cal = Calendar.getInstance();
Date time = cal.getTime();
DateFormat dateForm = DateFormat.getDateInstance();
DateFormat timeForm = DateFormat.getTimeInstance();
today = dateForm.format(time);
todaytime=timeForm.format(time);