getdate() Year 4digits : getdate : Development PHP Source Code


PHP Source Code » Development » getdate »

 

getdate() Year 4digits




<?php
$date_array = getdate()
foreach $date_array as $key => $val ){
    print "$key = $val<br>";
}
print "Today's date: $date_array[year]";
?>

           
       



HTML code for linking to this page:

    PHP Function Reference -> Users Code Examples / Notes - > getdate:
  • getdate
Follow Navioo On Twitter

PHP Source Code

 Navioo Development
» getdate