Display the drop-down list

getdate()

« getcwd | getenv »
<?php
$array 
getdate (
    
  // [int $timestamp = time()]
);
?>
Result
$array = [
  
'seconds' => 7,
  
'minutes' => 59,
  
'hours' => 7,
  
'mday' => 8,
  
'wday' => 5,
  
'mon' => 12,
  
'year' => 2023,
  
'yday' => 341,
  
'weekday' => 'Friday',
  
'month' => 'December',
  
=> 1702018747,
]
Examples
#1 getdate  ()
See also
date, idate, localtime, setlocale, time