Edit report at https://bugs.php.net/bug.php?id=62610&edit=1
ID: 62610 User updated by: jason at jasonbutz dot info Reported by: jason at jasonbutz dot info Summary: date('l, F m, Y') function outputs wrong date Status: Open Type: Bug Package: *General Issues Operating System: Linux -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) Block user comment: N Private report: N New Comment: Correcting PHP version Previous Comments: ------------------------------------------------------------------------ [2012-07-19 13:31:04] jason at jasonbutz dot info 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62610&edit=1