1
0
Fork 0
fgdata/webgui/topics/Environment/DateTime.html

24 lines
725 B
HTML
Raw Normal View History

2015-01-25 12:02:20 +00:00
<style>
.phi-datetime-2digits {
width: 2em;
}
</style>
<fieldset>
<legend>Time of today</legend>
<!-- ko foreach: timesOfToday -->
<button data-bind="text: $data, click: $parent.setTimeOfToday">Clock Time</button>
<!-- /ko -->
</fieldset>
<fieldset>
<legend>Date and Time</legend>
2015-02-06 10:23:51 +00:00
<div>Current System Time is: <span data-bind="text: simTimeUTC().toUTCString()"></span></div>
2015-01-25 12:02:20 +00:00
2015-02-06 10:23:51 +00:00
<div data-bind="datepicker: { value: simTimeUTC }"></div>
2015-01-25 12:02:20 +00:00
<div>
2015-02-06 10:23:51 +00:00
<input class="phi-datetime-2digits" data-bind="spinner: { value: hour, spin: wrapHour, page: 6 }" />
2015-01-25 12:02:20 +00:00
<input class="phi-datetime-2digits" data-bind="spinner: { value: minute, spin: wrapMinute }" />
</div>
</fieldset>