|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-07-19 13:32 UTC] jason at jasonbutz dot info
-PHP Version: 5.3Git-2012-07-19 (Git)
+PHP Version: 5.3.2-1ubuntu4.17 with Suhosin-Patch (cli)
(built: Jun 19 2012 03:21:35)
[2012-07-19 13:32 UTC] jason at jasonbutz dot info
[2012-07-20 01:25 UTC] aharvey@php.net
-Status: Open
+Status: Feedback
-Package: *General Issues
+Package: Date/time related
[2012-07-20 01:25 UTC] aharvey@php.net
[2012-07-20 14:29 UTC] jason at jasonbutz dot info
[2012-07-20 14:30 UTC] jason at jasonbutz dot info
[2012-07-20 14:30 UTC] jason at jasonbutz dot info
-Status: Feedback
+Status: Closed
[2012-07-20 15:08 UTC] rasmus@php.net
-Status: Closed
+Status: Not a bug
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 24 23:00:01 2025 UTC |
Description: ------------ When I use the date function with the included arguments the date is always output as "Thursday, July 07, 2012" when using the default timestamp. Test script: --------------- <?php echo "Today is ".date('m/d/Y')."\n"; echo date('l, F m, Y')."\n"; echo date('l, F m, Y', time())."\n"; echo date('l, F m, Y', strtotime("01/01/2012")); ?> Expected result: ---------------- date('l, F m, Y') to show the current date, not Thursday, July 07, 2012