Tue Oct 28, 2008 12:05 am
<html>
<head>
<title>Acquiring date information with getdate()</title>
</head>
<body>
<?php
$date_array = getdate();
foreach ( $date_array as $key => $val ){
print "$key = $val<br>";
}
?>
<hr>
<?
print "Today's date: $date_array[mday]/$date_array[mon]/$date_array[year]<p>";
?>
</body>
</html>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.