getdate

PHP 4, PHP 5, PHP 7, PHP 8
getdate - Get date/time information
Getdate Online Tool
Manual
Code Examples

Example #1 getdate example

Result: Array ( [seconds] => 40 [minutes] => 58 [hours] => 21 [mday] => 17 [wday] => 2 [mon] => 6 [year] => 2003 [yday] => 167 [weekday] => Tuesday [month] => June [0] => 1055901520 )
PHP Version:


Example #2 of getdate

PHP Version:


Function getdate:

Date and Time Functions

Most used PHP functions