Advertisement
Guest User

CurrentDateTime

a guest
May 4th, 2014
524
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.18 KB | None | 0 0
  1. import java.time.LocalDateTime;
  2. public class CurrentDateTime {
  3.     public static void main(String[] args) {
  4.         LocalDateTime dt = LocalDateTime.now();
  5.         System.out.println(dt);
  6.     }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement