IntlDateFormatter gregorian calendar |
(06-28-2020, 05:32 AM)mohs3n Wrote: When I create a new instance of IntlDateFormatter in the controller I get this error: I assume you wish to use PHP's IntlDateFormatter class? Based on that error message it appears PHP is looking in the wrong namespace. Try adding a "use" clause to the file being executted. PHP Code: use IntlDateFormatter; This will let PHP know that the class is in the "root" PHP namespace. |
Messages In This Thread |
IntlDateFormatter gregorian calendar - by mohs3n - 06-27-2020, 08:23 AM
RE: IntlDateFormatter gregorian calendar - by mohs3n - 06-28-2020, 05:32 AM
RE: IntlDateFormatter gregorian calendar - by dave friend - 06-28-2020, 06:23 AM
RE: IntlDateFormatter gregorian calendar - by mohs3n - 06-28-2020, 06:26 AM
|