Guest User

Untitled

a guest
Nov 17th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. import java.util.Date;
  2.  
  3. public class CurrentTime {
  4. public static void main(String[] args) {
  5. Date today = new Date();
  6. System.out.println(today); // Sun Nov 18 10:37:13 KST 2018
  7. }
  8. }
Add Comment
Please, Sign In to add comment