<?php
$fmtRo = new IntlDateFormatter(
'ro_RO',
IntlDateFormatter::MEDIUM,
IntlDateFormatter::MEDIUM,
'Europe/Bucharest',
IntlDateFormatter::GREGORIAN,
"dd LLL y, h:mm"
);
echo $fmt->format(0);
echo PHP_EOL;
$fmtEn = new IntlDateFormatter(
'en_EN',
IntlDateFormatter::MEDIUM,
IntlDateFormatter::MEDIUM,
'Europe/Bucharest',
IntlDateFormatter::GREGORIAN,
"dd LLL y, h:mm"
);
echo $fmt->format(0);
echo PHP_EOL;
echo date ("d M Y, H:i");
preferences:
27.48 ms | 402 KiB | 5 Q