Here i want to get JavaScript date in google chart and am passing date as yyyy-mm-dd format and i want to convert it to JavaScript in order to produce the graph.here is the console what am passing to the google chart 
now i want to get the date in JavaScript type as new Date(2021,07,29) and new Date(2021,08,28)..i had gone through several ways but didn't get an solution..
Here is my google chart code
<script src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
var user = {!! json_encode($user) !!};
var user = JSON.parse(user);
console.log(user);
google.charts.load('current', {
'packages': ['timeline']
});
google.charts.setOnLoadCallback(lineChart);
function lineChart() {
var data = google.visualization.arrayToDataTable(user);
var options = {
title: 'Wildlife Population',
curveType: 'function',
legend: {
position: 'bottom'
}
};
var chart = new google.visualization.Timeline(document.getElementById('monthly_report_timeline'));
chart.draw(data, options);
}
</script>