pegar hora atual com new date code example
Example: java bter data atual no padrão brasileiro
Date d = new Date();
Locale loc = new Locale("pt", "BR");
DateFormat df = DateFormat.getDateInstance(FULL, loc);
System.out.println(df.format(dat));
Date d = new Date();
Locale loc = new Locale("pt", "BR");
DateFormat df = DateFormat.getDateInstance(FULL, loc);
System.out.println(df.format(dat));