I've succeeded creating a simple date_popup field with the following code :
$form['date_start'] = array(
'#type' => 'date_popup',
'#title' => t('Start date'),
'#default_value' => '',
'#date_format' => 'Y-m-d',
);
Now, is there any way to directly create the "End date" field without having to create a second field declaration ? Is there any bundled widget I can use ? I've seen something about date_combo but I'm not sure to understand it well.
Thanks for help !