시원한물냉의 사람사는 이야기
기타문의는 댓글주세요
SimpleDateFormat formatter = new SimpleDateFormat ( "yyyy-MM-dd HH:mm:ss", Locale.KOREA );Date currentTime = new Date ( );String dTime = formatter.format ( currentTime ); System.out.println ( dTime ); 이걸이용하면 현재시간, 날짜 구할수있으니까 여러모로 활용할 수 있겠네요