I want bootstrap-datetimepicker only Year and Month
<p><a href="https://i.stack.imgur.com/CSpRJ.png" rel="nofollow"><img src="https://i.stack.imgur.com/CSpRJ.png" alt="enter image description here"></a></p>

<p>Now, Bootstrap datetimepicker viewed YYYY-DD-MM format.<br>
But, I want only YYYY-DD format.</p>

<p><a href="https://i.stack.imgur.com/AqIln.png" rel="nofollow"><img src="https://i.stack.imgur.com/AqIln.png" alt="enter image description here"></a></p>

<p>For example, Like the picture above.<br><br></p>

<p>Now Source.<br>
<b>Also it did not resolve to remove the DD to the source.</b></p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
&lt;div class="col-md-3"&gt;
  &lt;div class="col-md-5"&gt;
    &lt;label style="margin-top: 8px;margin-left: 33px; white-space:nowrap;"&gt;datetimepicker&lt;/label&gt;
  &lt;/div&gt;
  &lt;div class="col-md-7"&gt;
    &lt;input class="form-control" type="text" name="daterange" value='&lt;?php if(isset($_GET['to']) &amp;&amp; $_GET['to'] != '') { echo @$_GET['to']." - ".@$_GET['from']; } ?&gt;' /&gt;
  &lt;/div&gt;
&lt;/div&gt;</code></pre>
</div>
</div>
</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"&gt;&lt;/script&gt;
&lt;script&gt;
$(function() {
        $('input[name="daterange"]').daterangepicker({
          &lt;?php if(isset($_GET['to']) &amp;&amp; $_GET['to'] != '') { ?&gt;startDate:'&lt;?php echo @$_GET['to']; ?&gt;',&lt;?php } ?&gt;
          &lt;?php if(isset($_GET['to']) &amp;&amp; $_GET['to'] != '') { ?&gt;endDate:'&lt;?php echo @$_GET['from']; ?&gt;',&lt;?php } ?&gt;
          timePicker: false,
          timePicker24Hour: false,
          format: 'YYYY-MM-DD'
        }, function(start, end)
        {
          location.href = "/Driving/drivingHistoryList?to="+start.format('YYYY-MM-DD')+"&amp;from="+end.format('YYYY-MM-DD')+"&lt;?php echo "&amp;userid=".@$_GET['userid']."&amp;carid=".@$_GET['carid']."&amp;goal=".@$_GET['goal']."&amp;order=".@$_GET['order']."&amp;order_type=".@$_GET['order_type']."&amp;page=".@$_GET['page']."&amp;count=".@$_GET['count']; ?&gt;";
        });
      });
&lt;/script&gt;</code></pre>
</div>
</div>
</p>