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