public static createFromDate ( integer $year = null, integer $month = null, integer $day = null, DateTimeZon\DateTimeZone | string | null $tz = null ) : static | ||
$year | integer | The year to create an instance with. |
$month | integer | The month to create an instance with. |
$day | integer | The day to create an instance with. |
$tz | DateTimeZon\DateTimeZone | string | null | The DateTimeZone object or timezone name the new instance should use. |
return | static |