0 Replies Latest reply on Sep 16, 2010 4:50 AM by josdaniel

    How to set the default time during date selection

    josdaniel

      When I try to select a date using the following peice of code, the time gets set to 12 PM, shouldn't the default be 12 AM. How do ensure that the defaults are actually 12 AM or something which I want (say 9 AM or 10 AM)

       

      <rich:calendar id="startDate"
      required="true"  showWeeksBar="false"
      value="#{userHome.instance.startDate}"
      datePattern="dd/MM/yyyy  hh:mm a"
      locale="#{currentUser.getLocale()}"/>