Location: PHPKode > scripts > bbWorldTime > bbworldtime/example.php
<html>
<head>
    <title>bbWorldTime</title>

    <style type="text/css">
       .normal {
       	font-family: Verdana, Arial, Helvetica, sans-serif;
       	font-size: 9px;
       	color: #000000;
       }

       .highlight {
       	font-family: Verdana, Arial, Helvetica, sans-serif;
       	font-size: 9px;
       	color: #000000;
           background-color: #AAAAAA;
       }
    </style>
</head>

<body>
<?
    include_once("bbWorldTime.class.php");
    
    echo "  \$wt = new bbWorldTime('Istanbul');<br>\n";
    echo "  \$wt->DisplayZones();<br>\n";
    $wt = new bbWorldTime('Istanbul');
    $wt->DisplayZones('normal');
   
    echo "<hr>";   
    echo "  \$wt->SetLocaleZone('Denver');<br>\n";
    echo "  \$wt->DisplayZones();<br>\n";
    $wt->SetLocaleZone('Denver');
    $wt->DisplayZones('normal', 'London', 'highlight', 4, 8);
    
?>
</body>
</html>
Return current item: bbWorldTime