Example
<body bgcolor="#CCCCFF">
<font size="+4" ><center>DATE/TIME FUNCTION DEMO</font></marquee></center><br><br><br>
</head>
<?Php
//echo "CHECK IN DATE(DD/MM/YY FORMAT) WHETHER EXIST OR NOT::".checkdate(12,24,2010);
////echo "<br>";
//echo time();
echo "<br>";
//echo date("ddmmyy");
echo "<br>";
//echo localtime();
//echo time();
echo "<br>";
//echo gettimeofday();
//echo idate();
echo "<br>";
echo "(dd mon, year | time) :";
echo date("j M, Y");
echo " | ";
echo date("g:i a");
echo " | ";
echo date("H:i:s");
?>
<body bgcolor="#CCCCFF">
<font size="+4" ><center>DATE/TIME FUNCTION DEMO</font></marquee></center><br><br><br>
</head>
<?Php
//echo "CHECK IN DATE(DD/MM/YY FORMAT) WHETHER EXIST OR NOT::".checkdate(12,24,2010);
////echo "<br>";
//echo time();
echo "<br>";
//echo date("ddmmyy");
echo "<br>";
//echo localtime();
//echo time();
echo "<br>";
//echo gettimeofday();
//echo idate();
echo "<br>";
echo "(dd mon, year | time) :";
echo date("j M, Y");
echo " | ";
echo date("g:i a");
echo " | ";
echo date("H:i:s");
?>
No comments:
Post a Comment