Function __global->post_param_date_components_utc
Definitions
sources/temporal2.php
- Sanitise a POST inputted date with a timezone, and get the UTC date components for the inputted date.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$stub | ID_TEXT | required parameter | N/A | N/A | The stub of the parameter name (stub_year, stub_month, stub_day, stub_hour, stub_minute) |
$get_also | boolean | False | N/A | N/A | Whether to allow over get parameters also |
Return
- The date/time components (null: no input date was chosen)
- Type: ?array
- Set: N/A
- Range: N/A