Created
November 4, 2014 18:32
-
-
Save derekbar90/53c9cb8a2c120b2f05b1 to your computer and use it in GitHub Desktop.
getDate method
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private String getDate(){ | |
SimpleDateFormat date = new SimpleDateFormat("yyyy-MM-dd"); | |
Date today = new Date(); | |
return date.format(today); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment