Qual é a sua dúvida?
Cakephp 2: Input Type Date
Import Scripts
<link rel="stylesheet" type="text/css" href="/portal/css/bootstrap-datetimepicker.min.css" />
<script type="text/javascript" src="/portal/js/bootstrap4/bootstrap.min.js"></script>
<script type="text/javascript" src="/portal/js/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="/portal/js/jquery/jquery-1.12.1.min.js"></script>
<script type="text/javascript" src="/portal/js/moment-with-locales.js"></script>
Modelo Bootstrap 4 + datetimepicker
<div class="form-group row">
<label for="static" class="col-sm-4 col-form-label text-right"><?= __('Closed') ?></label>
<div class="col-sm-8">
<script type="text/javascript">
$(function() {
$("#dt_closed").datetimepicker({
format: 'YYYY-MM-DD HH:mm'
});
});
</script>
<?= $this->Form->input('closed', array(
'type' => 'text',
'id' => 'dt_closed',
'label' => false,
'class' => 'form-control',
)); ?>
</div>
</div>