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
 [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 10:01:32 2024 UTC