Function __global->_post_param_date

Definitions

sources/temporal2.php

  • Sanitise a POST inputted date, and get the Unix timestamp for the inputted date.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: int

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
$do_timezone_conversion boolean True N/A N/A Whether to do timezone conversion

Return

  • The timestamp of the date (null: no input date was chosen)
  • Type: ?TIME
  • Set: N/A
  • Range: N/A