# IntlDatePatternGenerator::create

# IntlDatePatternGenerator::__construct

(PHP 8 >= 8.1.0)

IntlDatePatternGenerator::create -- IntlDatePatternGenerator::__construct — Creates a new IntlDatePatternGenerator instance

### Beschreibung

public static IntlDatePatternGenerator::create(?string `$locale` = `null`): ?IntlDatePatternGenerator
public IntlDatePatternGenerator::__construct(?string `$locale` = `null`)

Creates a new IntlDatePatternGenerator instance.

### Parameter-Liste

`locale`

  The locale. If `null` is passed, uses the ini setting intl.default_locale.

### Rückgabewerte

Returns an IntlDatePatternGenerator instance on success, or `null` on failure.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open