Created
August 7, 2016 16:06
-
-
Save travisdachi/6f39e6775a372f68ec64e5af9a94cc84 to your computer and use it in GitHub Desktop.
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
public static String formatFancy(Date date) { | |
String myFancyFormat = ... | |
SimpleDateFormat f = new SimpleDateFormat(myFancyFormat); | |
return f.format(date); | |
} | |
String fancyDate = MyDateUtil.formatFancy(someDate); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment