Skip to content

Instantly share code, notes, and snippets.

@sdanna
Created October 21, 2015 21:30
Show Gist options
  • Save sdanna/c485071a1fe1c88a0948 to your computer and use it in GitHub Desktop.
Save sdanna/c485071a1fe1c88a0948 to your computer and use it in GitHub Desktop.
Time Formatting
String.format("%d:%2s", get12HourFormat(hourOfDay), minute).replace(' ', '0') + getAmPm(hourOfDay)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment