INVP::weekdays( int $zero_through_six = null )
weekdays
Contents
Description Description
If no parameter is provided, returns an array containing lowercase weekdays as keys and title case, three-letter abbreviations as values.<br>If a valid parameter is provided, returns the lowercase day name it identifies. If an invalid parameter is provided, returns false.
Parameters Parameters
- $zero_through_six
-
(Optional) A number between 0 and 6 to identify a single day to return as a string.
Default value: null
Return Return
(string|Array|false)
Source Source
File: includes/class-invp.php
Expand full source code Collapse full source code View on Github