Rearrange Date input field rendering In a function that is a response to a drupal_get_form() I am constructing a form that includes a date field

$form['dob'] = array(
    '#type' =&gt; 'date',
    '#date_format' =&gt; 'm-d-Y',
    '#title' =&gt; 'Date of Birth',
    '#required' =&gt; TRUE,
);


This however displays the the input with year first then month and date. How can I change this to render the month first then day and then year?
You need to change #type value to date_select

So your code should look like this 

$form['dob'] = array(
    '#type' =&gt; 'date_select',
    '#date_format' =&gt; 'm-d-Y',
    '#title' =&gt; 'Date of Birth',
    '#required' =&gt; TRUE,
);


If you want text field instead of select dropdown menu you can change date_select to date_text