Back to all examples

Enter a date

PHP
<?php

require_once '../lib/Kendo/Autoload.php';
?>
<div class="demo-section k-content">
    <div class="k-rtl">
        <h4>Enter a date</h4>
<?php
$dateInput = new \Kendo\UI\DateInput('dateinput');
$dateInput-> attr('style', 'width: 100%');
echo $dateInput->render();
?>
    </div>
</div>