get_weekstartend ( $mysqlstring, $start_of_week = '' )

  • (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.
  • (int[]) { Week start and end dates as Unix timestamps. @type int $start The week start date as a Unix timestamp. @type int $end The week end date as a Unix timestamp. }
Defined at:


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

Related Functions

get_post_parent, get_extended, get_last_updated, get_theme_starter_content, get_media_states

Top Google Results

User discussions

wpseek mobile