WordPress at Your Fingertips
function is not described

SimplePie_Parse_Date::parse() public WP 1.0

Parse a date

{} It's a method of the class: SimplePie_Parse_Date{}

No Hooks.

Return

Int. Timestamp corresponding to date string, or false on failure

Usage

$SimplePie_Parse_Date = new SimplePie_Parse_Date();
$SimplePie_Parse_Date->parse( $date );
$date(string) (required)
Date to parse

Code of SimplePie_Parse_Date::parse() WP 5.8.2

public function parse($date)
{
	foreach ($this->user as $method)
	{
		if (($returned = call_user_func($method, $date)) !== false)
		{
			return $returned;
		}
	}

	foreach ($this->built_in as $method)
	{
		if (($returned = call_user_func(array($this, $method), $date)) !== false)
		{
			return $returned;
		}
	}

	return false;
}