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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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 04 16:01:31 2024 UTC