Function __global->find_timezone_start_hour_in_utc
Definitions
sources/calendar.php
- Find first hour in day for a timezone.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: int
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $timezone | ID_TEXT | No | No | required parameter | N/A | N/A | The timezone of the event |
| $year | integer | No | No | required parameter | N/A | N/A | Year |
| $month | integer | No | No | required parameter | N/A | N/A | Month |
| $day | integer | No | No | required parameter | N/A | N/A | Day |
| $monthly_spec_type | ID_TEXT | No | No | required parameter | day_of_month day_of_month_backwards dow_of_month dow_of_month_backwards | N/A | In-month specification type |
Returns
- Hour
- Type: integer
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find first hour in day for a timezone.
*
* @param ID_TEXT $timezone The timezone of the event
* @param integer $year Year
* @param integer $month Month
* @param integer $day Day
* @param ID_TEXT $monthly_spec_type In-month specification type
* @set day_of_month day_of_month_backwards dow_of_month dow_of_month_backwards
* @return integer Hour
*/
function find_timezone_start_hour_in_utc(string $timezone, int $year, int $month, int $day, string $monthly_spec_type) : int
* Find first hour in day for a timezone.
*
* @param ID_TEXT $timezone The timezone of the event
* @param integer $year Year
* @param integer $month Month
* @param integer $day Day
* @param ID_TEXT $monthly_spec_type In-month specification type
* @set day_of_month day_of_month_backwards dow_of_month dow_of_month_backwards
* @return integer Hour
*/
function find_timezone_start_hour_in_utc(string $timezone, int $year, int $month, int $day, string $monthly_spec_type) : int

