Function __global->get_week_number_for

Definitions

sources/calendar.php

  • Get the week number for a time.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$timestamp TIME required parameter N/A N/A The week timestamp
$within_year boolean False N/A N/A Whether to do it contextually to the year, rather than including the year

Return

  • The week number
  • Type: string
  • Set: N/A
  • Range: N/A