I am trying to output dates in the Italian format using date()
as follows:
<?php
setlocale(LC_ALL, 'it_IT');
echo date("D d M Y", $row['eventtime']);
?>
However, it is still coming out in the English format. What else could I do? Is there something wrong?
The solution has to be script specific and not server-wide.