Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Calendar now = Calendar.getInstance();
- int year = now.get(Calendar.YEAR);
- int month=now.get(Calendar.MONTH)+1;
- int day=now.get(Calendar.DAY_OF_MONTH);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement