php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29892 strtotime('now'); doesn't work
Submitted: 2004-08-30 10:28 UTC Modified: 2004-08-30 10:31 UTC
From: alexander dot over at koeln dot de Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.0.1 OS: Suse9.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: alexander dot over at koeln dot de
New email:
PHP Version: OS:

 

 [2004-08-30 10:28 UTC] alexander dot over at koeln dot de
Description:
------------
the result from strtotime("now"); gives me only the timestamp from the beginning of the actual day.

Reproduce code:
---------------
<?
echo strtotime("now");
?>

Expected result:
----------------
1093854300

Actual result:
--------------
1093816800 -> 30.08.2004 00:00:00

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-30 10:32 UTC] derick@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 07:01:33 2024 UTC