The IntlDateFormatter class
Date Formatter is a concrete class that enables locale-dependent formatting/parsing of dates using pattern strings and/or canned patterns.
Intro
Date Formatter is a concrete class that enables locale-dependent formatting/parsing of dates using pattern strings and/or canned patterns.
This class represents the ICU date formatting functionality. It allows users to display dates in a localized format or to parse strings into PHP date values using pattern strings and/or canned patterns.
Class synopsis
Changelog
| Version | Description |
|---|---|
| 8.4.0 | Added IntlDateFormatter::PATTERN. |
See Also
- ICU Date formatter
- ICU Date formats
Dateformatter-constants
Changelog
| Version | Description |
|---|---|
| 8.4.0 | The class constants are now typed. |
Dateformatter