Get date and time : Date Time : Development PHP Source Code


PHP Source Code » Development » Date Time »

 

Get date and time




<html><body>
<h1>Hello!</h1> <?

$dat=date("d.m y");

$tm=date("h:i:s");


echo "The current date is $dat<br>n";
echo "The current time is $tm<br>n";

?>
</body>
</html>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Development
» Date Time