Created
January 27, 2017 13:10
-
-
Save shangeethsivan/5d1e1dba98d406e5df833e09e49058ff to your computer and use it in GitHub Desktop.
Date Format in java
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
Date d=new Date(); | |
SimpleDateFormat sdf=new SimpleDateFormat("dd:MM:yyyy hh:mm:ss"); | |
String date=sdf.fomat(date); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment