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

26 lines
720 B
HTML
Raw Permalink 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>
<div>
Current System Time is: <span data-bind="text: timeAsString"></span>
2015-01-25 12:02:20 +00:00
</div>
<div data-bind="datepicker: { value: simTimeAsLocalTime, onSelect: onDateSelect }"></div>
<div class="input-group clockpicker">
<input type="text" class="form-control" value="18:00">
<span class="input-group-addon">
<span class="glyphicon glyphicon-time"></span>
</span>
</div>
2015-01-25 12:02:20 +00:00
</fieldset>