Created
January 9, 2016 21:37
-
-
Save kuraydev/16ad3fcf3ff8c1a888ba to your computer and use it in GitHub Desktop.
Format the current date
This file contains hidden or 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
| SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd"); | |
| String now = df.format(new Date()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment