I am aware that the Date
includes the time as well. I have date and time picker which is of type `SingleDateAndTimePicker, which I am using from GitHub. I am trying to set the default date. i have tried this code...
poaTime.setDefaultDate();
This requires a Date
. However, the problem is that I need to set the default date to today but in the time, I want to set it to 00:01. How can I do that. I am using Java 7 version.
EDIT: This is not a duplicate, because the suggested duplicate is displaying the time in text (string) format instead of in the datetimepicker I have used from GitHub.