From 1bf58d597250916d73939a6ddeb16b3510bb35de Mon Sep 17 00:00:00 2001 From: Damien Seguy Date: Tue, 17 Apr 2001 15:03:11 +0000 Subject: [PATCH] turned constant into '' months -> 'months' git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@45414 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/datetime.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/datetime.xml b/functions/datetime.xml index c1a5eada21..d3452ace36 100644 --- a/functions/datetime.xml +++ b/functions/datetime.xml @@ -367,9 +367,9 @@ $today = date("H:i:s"); // 17:16:17 $today = getdate(); -$month = $today[month]; -$mday = $today[mday]; -$year = $today[year]; +$month = $today['month']; +$mday = $today['mday']; +$year = $today['year']; echo "$month $mday, $year";