ShowTime: Boolean
The ShowTime property determines whether time is shown in the component.
By default the true value is set that is the date is displayed in the editor input box.
The property is relevant if the DateTimeEdit.Mode property is set to the default value (0).
To execute the example, enable the links to the PP.js library and the PP.css visual styles table. Seebelow Javascript code used to place the DateTimeEdit component in HTML page. Entry box of this component shows only date:
<script type="text/javascript">
DTE = new PP.Ui.DateTimeEdit({
ParentNode: document.getElementById("DTE1"),
Width: 150,
ShowDate: true,
ShowTime: false,})
</script>
After executing the example the time and date editor is created and the time value is not displayed in its input box:
See also: