Function __global->_get_timezoned_date_time

Definitions

sources/temporal.php

  • Get a nice formatted date/time from the specified Unix timestamp.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$include_time boolean required parameter N/A N/A Whether to include the time in the output
$timestamp TIME required parameter N/A N/A Input timestamp
$use_contextual_dates boolean required parameter N/A N/A Whether contextual dates will be used
$utc_time boolean required parameter N/A N/A Whether to work in UTC time (false: $timestamp is in UTC)
$member_id ?MEMBER required parameter N/A N/A Member for which the date is being rendered (null: current member). Use $GLOBALS['FORUM_DRIVER']->get_guest_id() for server times

Return

  • Formatted time
  • Type: string
  • Set: N/A
  • Range: N/A