Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.text.SimpleDateFormat;
- import java.util.Date;
- public class CurrentDate
- {
- public static String get()
- {
- return new SimpleDateFormat("dd.MM.YYYY HH:mm").format(new Date());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement