intldateformatter Questions

2

I want to remove "day" from the pattern to display the correct INTL date in format "F, Y". How to correctly do it without str_replace-ing "d" character with dots (and ...
Glyph asked 30/5, 2022 at 13:52

2

Solved

If you run the following code <?php $date = new DateTime('2019-12-30 19:45:00', new DateTimeZone('Europe/London')); $formatter = new IntlDateFormatter( 'en_GB', null, null, 'Europe/London'...
Sundin asked 30/11, 2019 at 10:10
1

© 2022 - 2024 — McMap. All rights reserved.