src/Date.php
public static function create($time = 'now', $timezone = null)
	{
		return new static(new \DateTime($time, $timezone === null ? self::$utc : (is_string($timezone) ? new \DateTimeZone($timezone) : $timezone)));
	}
public static function create($time = 'now', $timezone = null)
	{
		return new static(new \DateTime($time, $timezone === null ? self::$utc : (is_string($timezone) ? new \DateTimeZone($timezone) : $timezone)));
	}
public static function create ( $ time = 'now' , $ timezone = null ) { return new static ( new \ DateTime ( $ time , $ timezone === null ? self :: $ utc : ( is_string ( $ timezone ) ? new \ DateTimeZone ( $ timezone ) : $ timezone ) ) ) ; }
Create a Twister\Date object or returns null

@link http://php.net/manual/en/datetime.construct.php


@param  mixed  $str      Value to modify, after being cast to string
@param  string $encoding The character encoding
@return new Twister\Date instance or false on failure
@throws \InvalidArgumentException if an array or object without a
__toString method is passed as the first argument
Create a Twister \ Date object or returns null