I want to assign the initial default start date and end date to a linked datetimepicker from the database dynamically using query. Pls suggest how to assign default date using query from db.
Is there any option for daatetimepicker to specify the query directly as an option of default date?
<?php
DateTimePicker::create(array(
"name"=>"max",
"minDate"=>"@min",
"locale"=>"ar-kw",
"format"=>"YYYY-MM-DD",
"themeBase"=>"bs3"
));
?>