Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.time.LocalDateTime;
- public class CurrentDateTime {
- public static void main(String[] args) {
- LocalDateTime dt = LocalDateTime.now();
- System.out.println(dt);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement