Function CMSStatsProvider->calculate_date_pivot_value

Definitions

sources/stats.php

  • Get the pivot value (date-differentiation value within a bucket) for a standard date pivot type.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: int

Parameters

Name Type Default Set Range Description
$pivot string required parameter N/A N/A Pivot type
$timestamp TIME required parameter N/A N/A Timestamp

Return

  • Pivot value
  • Type: integer
  • Set: N/A
  • Range: N/A