IntlDatePatternGenerator::getBestPatternDetermines the most suitable date/time format Description
public stringfalse IntlDatePatternGenerator::getBestPattern(string
$skeleton )Determines which date/time format is most suitable for a particular locale. Parameters
Return Values
Returns a format, accepted by DateTimeInterface::format on success, or Examples
Example #1 IntlDatePatternGenerator::getBestPattern example
The above example will output: de: 24.04.2021 en: 04/24/2021 |