<div
    class = "input-append date dateTimePicker <?php echo $attributeName; ?>"
    id = "datetimepicker"
    data-date-formatType = "php"
    data-date-format = "<?php echo $dateTimePickerPattern; ?>"
    data-date-startDate = "<?php echo $dateTimePickerPattern; ?>"
    >
        <?php echo CHtml::textField($name, $value, $textHtmlOptions); ?>
    <span class="add-on"><i class="icon-th"></i></span>
    <span class="add-on" onclick="resetSelectableDateRange($(this).parent())"><i class="icon-remove"></i></span>
</div>