Created
August 27, 2012 08:39
-
-
Save paulomcnally/3486712 to your computer and use it in GitHub Desktop.
Get real date from Nicaragua - Android
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
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd", Locale.US); | |
sdf.setTimeZone(TimeZone.getTimeZone( "America/Managua" )); | |
String now = sdf.format(new Date()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment