I want to setup date picker in frontend form,

and I did this currently, datepicker is shown in a frontend form

only one issue is that when I click on today in datepicker it take the wrong date

screenshot: -


<script type="text/javascript">
                              inputField: "RebillStartDate",
                              ifFormat: "%d/%m/%Y",
                              showsTime: true,
                              button: "rebillstartdate",
                              align: "Bl",
                              singleClick : true

1 Answer 1


try it like this i know its too late but still if someone faces this kind of similar issue then this would be helpful

<script type="text/javascript">
                                ], function($){
       prevText: '&#x3c;zurück', prevStatus: '',
        prevJumpText: '&#x3c;&#x3c;', prevJumpStatus: '',
        nextText: 'Vor&#x3e;', nextStatus: '',
        nextJumpText: '&#x3e;&#x3e;', nextJumpStatus: '',
        monthNames: ['Januar','Februar','März','April','Mai','Juni',
        monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun',
        dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
        dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
        dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
      showMonthAfterYear: false,

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.