Created
March 22, 2023 18:05
-
-
Save machkouroke/ef78007838d760a00f623cea2dc815d7 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
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy/MM/dd HH:mm:ss.SSS").withZone(ZoneId.systemDefault()); | |
String formatted date = formatter.format(this.date); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment