Created date is 2012-04-11 10:21:45am

Code:

<html>
<head>
<title>PHP TEST YAHHH</title>
<link rel="stylesheet" type="text/css" href="mystyle.css">
</head>
<body>

<div class="topbar">
<?php
include 'navbar.php';
?>

</div>

<?php

    $date
=mktime(1021454112012);
    
    echo 
"Created date is ".date("Y-m-d h:i:sa",$date);


    
/* outputs in this format:
    
        Created date is 2012-04-11 10:21:45am
    
    */
    
?>
    


<div class="codebox">
<h3>Code:</h3>
<?php
highlight_file
("ex007.php");
?>
</div>


</body>

</html>