$ts = mktime();
echo '' . date('r (T)', $ts) . "
\n";
if($loc_de = setlocale(LC_ALL, 'de_DE@euro', 'de_DE', 'deu_deu'))
{
echo "Preferred locale for German on this system is \"$loc_de\".
";
echo 'Guten Morgen! Heute ist ' . strftime('%A %d %B %Y, %H.%M Uhr', $ts)
. ".
\n";
}
else
echo "Sorry! This system doesn't speak German.
\n";
?>