getdate(): Month of the year : getdate « Development « PHP
- PHP
- Development
- getdate
getdate(): Month of the year
<?php
$date_array = getdate();
foreach ( $date_array as $key => $val ){
print "$key = $val<br>";
}
print "Today's date: $date_array[mon]";
?>
Related examples in the same category