Back to all examples

Enter a date

PHP
<?php

require_once '../lib/Kendo/Autoload.php';
?>
<div class="demo-section k-content">
        <h4>Enter a date</h4>
<?php
$dateInput = new \Kendo\UI\DateInput('dateinput');

$dateInput->attr('title', 'date input')
           ->attr('style', 'width: 100%');

echo $dateInput->render();
?>
</div>