-
Default date selection
Hi,
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:
Code:
@Column(name = "my_date")
@NotNull
@Temporal(TemporalType.TIMESTAMP)
@DateTimeFormat(style = "SS")
private Date myDate;
Thanks.
-
Enable a constructor for the entity.... set the date field as neeses there
Thx
Jd
-
Sorry for the typo... should say "needed" not neeses.
It might another way using the value annotation @value. I check it in the morning.
Thx
jD