79245277

Date: 2024-12-02 19:09:39
Score: 1.5
Natty:
Report link

Based on the answer from celsown ( https://stackoverflow.com/a/73807773/5538923 ), I could print the full date in the local language in PHP from a date field in the DB with this instruction:

echo IntlDateFormatter::formatObject(IntlCalendar::fromDateTime($row["dataA"], "en_US"), 'eeee d MMMM y', "it_IT");

The result was: "lunedì 2 dicembre 2024".

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: marcor92