Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jonmcewen/8924184873a9d8acc39ee3efaae72e35 to your computer and use it in GitHub Desktop.
Save jonmcewen/8924184873a9d8acc39ee3efaae72e35 to your computer and use it in GitHub Desktop.
private static final DateTimeFormatter TIME_FORMATTER = new DateTimeFormatterBuilder().appendPattern("yyyy-MM-dd HH:mm:ss")
.appendFraction(ChronoField.MICRO_OF_SECOND, 0, 6, true).appendPattern("X").toFormatter();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment