|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-06-06 20:02 UTC] helly@php.net
[2004-06-08 09:58 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 23:00:01 2025 UTC |
Description: ------------ This should return 28th March 2004, instead it is returning 31st December 1969. <?php echo date("Y-n-d",mktime(0, 0, 0, 3 , 28, 2004)); ?> Reproduce code: --------------- <?php echo date("Y-n-d",mktime(0, 0, 0, 3 , 28, 2004)); ?> Expected result: ---------------- 2004-03-28 Actual result: -------------- 1969-12-31