Skip to content

Instantly share code, notes, and snippets.

@Integerous
Last active October 3, 2018 00:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Integerous/92d911e5a442145ecd9d73491aa76985 to your computer and use it in GitHub Desktop.
Save Integerous/92d911e5a442145ecd9d73491aa76985 to your computer and use it in GitHub Desktop.
Date today = new Date();
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");
String result = df.format(today); //오늘 날짜를 yyyy-MM-dd 형태로 반환
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment