12月 11th, 2006PHP代码:显示德语,德国时间
setlocale(LC_ALL, 'de_DE@euro', 'de_DE', 'deu_deu');
echo strftime("%A %B %Y", time())."\n";
setlocale(LC_ALL, 'de_DE@euro', 'de_DE', 'deu_deu');
echo strftime("%A %d %B %Y", strtotime("2006-1-15 :00:00"))."\n";
echo strftime("%A %B %Y", time())."\n";
setlocale(LC_ALL, 'de_DE@euro', 'de_DE', 'deu_deu');
echo strftime("%A %d %B %Y", strtotime("2006-1-15 :00:00"))."\n";