ID:               22998
 Updated by:       [EMAIL PROTECTED]
 Reported By:      przemek at cert dot pl
-Status:           Open
+Status:           Bogus
 Bug Type:         Date/time related
 Operating System: Debian
 PHP Version:      4.3.1
 New Comment:

Try adding a $ in front of date_time on line 3


Previous Comments:
------------------------------------------------------------------------

[2003-04-01 02:16:30] przemek at cert dot pl

  $date_time=strtotime("20030330 0100");
  echo "date_time reads: $date_time\n";
  $date_time=strtotime("+1 hour", date_time);
  echo "date_time reads: $date_time\n";

produces output:

  date_time reads: 1048982400
  date_time reads: 3600

I must say I wouldn't mind getting "2003-03-30 03:00", but
"1970-01-01 00:00" is more than surprising...

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=22998&edit=1

Reply via email to