Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Date hoy = Calendar.getInstance().getTime();
- //armamos la fecha con el formato DD.MM.AAAA
- String shoy = DateFormat.getDateInstance(DateFormat.MEDIUM).format(hoy).toString();
- fechainf.setText(shoy);
- String fDate = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss").format(hoy);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement