I am using jQuery date range picker (http://tamble.github.io/jquery-ui-daterangepicker/) when I submit data its showing below format.
{"start":"2015-09-17","end":"2015-09-23"}
Now, I want to pick date only like this
<?php
$startDate: 2015-09-17;
$endDate: 2015-09-23;
?>
I used php str_replace but its not work properly.
Your help would be very much appreciated.