Forum Moderators: coopster
<?PHP
$date = getdate();
$month = $date['month'];
$day = $date['mday'];
$year = $date['year'];
$dayofweek = $date['weekday'];
$hour = $date['hours'];
$min = $date['minutes'];
$sec = $date['seconds'];
print "$dayofweek, $day/$month/$year - $hour:$min:$sec";
?>
for example the date will display as
Saturday, 6/September/2003 - 6:9:7
whilst i want it to display as
Saturday, 06/September/2003 - 06:09:07
How do i do so? I've trying changing the date attributers but that does not work