Repository navigation
Expand file tree
/
Copy pathtime-format.html
More file actions
57 lines (53 loc) · 2.2 KB
/
Copy pathtime-format.html
File metadata and controls
57 lines (53 loc) · 2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<div class="control-section">
<div class="control_wrapper">
<div class="tabs-wrap">
<div class="wrap">
<input id="timepicker" type="text" />
</div>
</div>
</div>
</div>
<div id="action-description">
<p>
The TimePicker has been customized with 24-hour format with 60 minutes <code>interval</code>. Click/Touch the TimePicker popup icon to a select a time from 00:00 to 23:00 from the TimePicker popup.
</p>
</div>
<div id="description">
<p>
TimePicker provides an option to customize the display format of the time value using the
<a href="https://ej2.syncfusion.com/documentation/timepicker/getting-started.html#setting-the-time-format" target="_blank">format</a> property. It accepts
<a href="https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings"
target="_blank"> standard </a>
<a href="https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings" target="_blank">
custom date and time format strings</a> as specified in MSDN.
</p>
<p> Here, the time value displayed in 24-hour format with
<code> 60 </code> minute step interval. To know more about custom time formatting, refer the
<a href="https://ej2.syncfusion.com/documentation/base/intl.html?lang=typescript#custom-formats" target="_blank"> Parsing and formatting</a> section. By default, TimePicker component is formatted with `en` (English) culture.
</p>
<p>More information about the TimePicker and it's configuration can be found in the
<a href="https://ej2.syncfusion.com/documentation/timepicker/getting-started.html#add-timepicker-to-the-application" target="_blank">
documentation section</a>.</p>
</div>
<!-- custom code start -->
<style>
#wrapper {
margin: 0 auto;
}
.control_wrapper {
margin: 0 auto;
display: block;
max-width: 300px;
padding: 5% 0;
}
.tabs-wrap {
padding: 0px 0px 10px;
}
.e-bigger .control-section {
margin-top: 60px;
}
.btn-wrap {
padding: 20px 0px 10px;
}
</style>
<!-- custom code end-->