title: Change returned value from jquery datetimepicker
body: <p>I am using <code>jQuery datetimepicker</code> where I am formatting date like <code>DD/MM/YYYY</code>, everything is okay with displayed date, but when I sent it on <code>post</code> I want date to be sent as  <code>2022-07-22</code>, when I use <code>HTML5</code> <code>datepicker</code> the date is sent <code>2022-07-22</code>. How I can do that? Do I need to do it on <code>controller</code> side or I can do it using <code>datetimepicker</code> and <code>moment</code> on client side.</p>
  <pre class="lang-js prettyprint-override"><code>$(document).ready(function() {
    $.datetimepicker.setDateFormatter('moment');
    $(&quot;.datepicker&quot;).datetimepicker({
       timepicker: false,          
       format: 'DD/MM/YYYY',
    });
  })
  </code></pre>