Announcement Announcement Module
Collapse
No announcement yet.
Default date selection Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #2
    Enable a constructor for the entity.... set the date field as neeses there

    Thx
    Jd

    Comment


    • #3
      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

      Comment

      Working...
      X