src/Date.php
public function days($date = null)
	{
		return is_string($date) ? (new \DateTime($date, self::$utc))->diff($this->date)->days : $date->diff($this->date)->days;
	}
public function days($date = null)
	{
		return is_string($date) ? (new \DateTime($date, self::$utc))->diff($this->date)->days : $date->diff($this->date)->days;
	}
public function days ( $ date = null ) { return is_string ( $ date ) ? ( new \ DateTime ( $ date , self :: $ utc ) ) -> diff ( $ this -> date ) -> days : $ date -> diff ( $ this -> date ) -> days ; }
Returns the difference between two dates in days
Returns the difference between two dates in days