public static DateTimePlus::createFromArray(array $date_parts, $timezone = NULL, $settings = array())
Creates a date object from an array of date parts.
Converts the input value into an ISO date, forcing a full ISO date even if some values are missing.
Parameters
array $date_parts: An array of date parts, like ('year' => 2014, 'month' => 4).
mixed $timezone: (optional) \DateTimeZone object, time zone string or NULL. NULL uses the default system time zone. Defaults to NULL.
array $setting