get date in javascript as dd mm yyyy bootstrap 4 code example
Example: bootstrap datepicker format dd-mm-yyyy
<input type="text" value="02/16/13" data-date-format="mm/dd/yy" id="dp2">
<input type="text" value="02/16/13" data-date-format="mm/dd/yy" id="dp2">