Time.php
This contains Wizard’s Toolkit functions and setup for time-drop lists
All rights reserved.
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Tags
Table of Contents
- wtkHourDropList() : html
- create <option> values for choosing time in a drop list
Functions
wtkHourDropList()
create <option> values for choosing time in a drop list
wtkHourDropList
(
array<string|int, mixed>
$fncTimeArray
[,
string
$fncCurrHour =
'00:00' ]
[,
mixed
$fncTomorrow =
'' ]
) :
html
Has value in military time format like 13:45 and displays as 1:45 PM
Parameters
- $fncTimeArray : array<string|int, mixed>
- $fncCurrHour : string = '00:00'
-
defaults to 00:00 but can pass in earliest time you want to start
- $fncTomorrow : mixed = ''
Tags
Return values
html —of <option> list