Run ❯
Get your
own Java
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
import java.time.LocalDate; import java.time.format.DateTimeFormatter; public class Main { public static void main(String[] args) { LocalDate myDate = LocalDate.of(2026, 1, 15); DateTimeFormatter myFormatObj = DateTimeFormatter.ofPattern("dd.MM.yyyy"); System.out.println(myFormatObj.format(myDate)); } }
15.01.2026