Calendar.getInstance().toString() code example
Example: Calendar.getInstance().toString() and Calendar.getInstance() and LocalTime.now()
/** helper for return current date **/
public String currentDate() {
return new SimpleDateFormat("yyyy-MM-dd").format(Calendar.getInstance().getTime());
}