get_weekstartend


get_weekstartend ( $mysqlstring, $start_of_week = '' )

Parameters:
  • (string) $mysqlstring Date or datetime field type from MySQL.
  • (int|string) $start_of_week Optional. Start of the week as an integer. Default empty string.
Returns:
  • (array) Keys are 'start' and 'end'.
Defined at:

Description

Get the week start and end from the datetime or date string from MySQL.

Related Functions

get_extended, get_last_updated, get_theme_starter_content, get_sitestats, get_page_statuses

Top Google Results

User discussions

wpseek mobile