Skip to content

Instantly share code, notes, and snippets.

@hwshim0810
Created April 6, 2017 13:22
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 hwshim0810/42aab2aec41e5ed9b4cea85f08a5ec8e to your computer and use it in GitHub Desktop.
Save hwshim0810/42aab2aec41e5ed9b4cea85f08a5ec8e to your computer and use it in GitHub Desktop.
change sqldate format to string
SimpleDateFormat fmt=new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); 
     
String sDate=fmt.format(dto.getSTIME()); 
     
String eDate=fmt.format(dto.getETIME()); 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment