源代码:
<HTML> <HEAD></HEAD> <FONT FACE="'Courier New',Verdana, Arial, Helvetica" SIZE=2> <!DOCTYPE html> <html> <body> <FONT COLOR=#ff0000><?php $tz=timezone_open("Europe/Paris"); echo timezone_name_get($tz); ?></FONT> </body> </html> </HTML>
运行结果:
<HTML> <HEAD></HEAD> <FONT FACE="'Courier New',Verdana, Arial, Helvetica" SIZE=2> <!DOCTYPE html> <html> <body> <FONT COLOR=#ff0000>Europe/Paris</FONT> </body> </html> </HTML>