Scrivere la data e l'ora in Php
Per scrivere la data e l'ora in formato italiano sulle nostre pagine Php basta usare le istruzioni setlocale() e strftime().
Ecco un esempio:
<?PHP
setlocale("LC_TIME", "it_IT");
print(strftime ("%A %d %B %Y %H:%M"));
?>
|