|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-05-03 08:22 UTC] derick@php.net
[2006-05-03 10:27 UTC] caluml at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 09:00:01 2025 UTC |
Description: ------------ Please can we get the mktime function accepting its parameters in a "standard" order? Either small to big, or big to small, but something consistent. It's insane as it is. I did check to see if this had been reported, and couldn't find anything, so apologies if it has been. Reproduce code: --------------- print date("Y-m-d H:i:s", mktime(06,05,04,03,02,01) ); Expected result: ---------------- I expect to see either: 2006-05-04 03:02:01 or 2001-02-03 04:05:06 Actual result: -------------- I see this: 2001-03-02 06:05:04