Location: PHPKode > scripts > Literal Time > literal-time/LiteralClock.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head profile="http://gmpg.org/xfn/11">
        <title>Literal Clock</title>
        <meta http-equiv="refresh" content="60" />
        <style type="text/css">
        *
        {
            margin: 0px;
            padding: 0px;
        }

        body
        {
            background-color: #000000;
        }

        p
        {
            font-family: "Trebuchet MS";
            font-size: 50px;
            color: #999999;
            font-weight: bold;
            text-align: center;
            postion: absolute;
            top: 500px;
        }

        </style>
    </head>
    <body>
        <p>
<?php

require_once('LITERAL_TIME.class');
// Display current time
$Time = new LITERAL_TIME();
echo $Time->Time() . "\n";
?>
        </p>
    </body>
</html>
Return current item: Literal Time