Default date selection
I want to set default time to 11.59pm for a selected date. Currently it is set to 12.00 am for the selected date (which is the default behavior). How can I make it set to 11.59pm by default?
Here is the date format:
@Column(name = "my_date")
@DateTimeFormat(style = "SS")
private Date myDate;
Enable a constructor for the entity.... set the date field as neeses there
Sorry for the typo... should say "needed" not neeses.
It might another way using the value annotation @value. I check it in the morning.