Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created March 19, 2019 03:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/afc456252415d7c654753e419f39e6c3 to your computer and use it in GitHub Desktop.
Save parzibyte/afc456252415d7c654753e419f39e6c3 to your computer and use it in GitHub Desktop.
DateTimeFormatter formateador = DateTimeFormatter.ofPattern("HH:mm:ss"); // El formato es HH:mm:ss
String horaActual = formateador.format(LocalDateTime.now());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment