Skip to main content
1 of 2
fmsthird
  • 4.6k
  • 4
  • 18
  • 42

You can try this in your phtml file:

<script>
    require([
        'jquery',
        'jquery/ui'
    ], function($){
        $(document).ready(function(){
           $("#datepicker").datepicker({
           dateFormat: 'MM dd'
        });
     });
</script>  

Note: where "#datepicker" is the id of your datetime picker input element

fmsthird
  • 4.6k
  • 4
  • 18
  • 42