Mostrar el cuadro de texto

getdate()

« getcwd | getenv »
<?php
$array 
getdate (
    
  // [int $timestamp = time()]
);
?>
Resultado
$array = [
  
'seconds' => 32,
  
'minutes' => 32,
  
'hours' => 2,
  
'mday' => 5,
  
'wday' => 0,
  
'mon' => 5,
  
'year' => 2024,
  
'yday' => 125,
  
'weekday' => 'Sunday',
  
'month' => 'May',
  
=> 1714869152,
]
Ejemplos
#1 getdate  ()
Ver también
date, idate, localtime, setlocale, time