Get the current date and time
String mydate = DateFormat.getDateTimeInstance().format(Calendar.getInstance().getTime());