Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<IntlCodePointBreakIterator::getLastCodePointIntlDatePatternGenerator::create>
^intlLast updated: Mon, 26 Oct 2026

The IntlDatePatternGenerator class

(PHP 8 >= 8.1.0)

Introduction

Generates localized date and/or time format pattern strings suitable for use in IntlDateFormatter.

Class synopsis

class IntlDatePatternGenerator {
/* Methods */
public function __construct(?string $locale = null)
public static function create(?string $locale = null): ?IntlDatePatternGenerator
public function getBestPattern(string $skeleton): string|false
}

Table of Contents


<IntlCodePointBreakIterator::getLastCodePointIntlDatePatternGenerator::create>
^intlLast updated: Mon, 26 Oct 2026