Function __global->remap_time_as_portable

Definitions

sources/resource_fs.php

  • Convert a timestamp to something portable (well, actually just make it nicer).
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$timestamp ?TIME No No required parameter N/A N/A The timestamp (null: not set)

Returns

  • Portable details (null: not set)
  • Type: ?string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Convert a timestamp to something portable (well, actually just make it nicer).
 *
 * @param  ?TIME $timestamp The timestamp (null: not set)
 * @return ?string Portable details (null: not set)
 */

function remap_time_as_portable(?int $timestamp) : ?string