Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.time.LocalDateTime;
- public class Problem5_CurrentDateTime {
- public static void main (String[] args){
- System.out.printf("%1$td/%1$tm/%1$tY %1$tH:%1$tM", LocalDateTime.now());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement