MapleStory Finger Point

๐Ÿƒ‍โ™‚๏ธBaekjoon/Java

#10699 - java

HYEJU01 2024. 4. 19. 07:04
import java.util.Date;
import java.util.TimeZone;
import java.text.SimpleDateFormat;


public class Main {
    public static void main(String[] args) {
    	Date currentDate = new Date();
    	SimpleDateFormat df = new SimpleDateFormat("YYYY-MM-dd");
    	df.setTimeZone(TimeZone.getTimeZone("Asia/Seoul"));
    	System.out.println(df.format(currentDate));
    }
}

 

์ง€์—ญ์˜ ์ •ํ™•ํ•œ ๋‚ ์งœ ์ถœ๋ ฅํ•˜๊ธฐ