note 105695 deleted from function.getdate by danbrown

From: Date: Thu, 08 Sep 2011 16:21:19 +0000
Subject: note 105695 deleted from function.getdate by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-183049@lists.php.net to get a copy of this message
Note Submitter: nichols at tradingconnections dot com ---- moshe at unirgy dot com: function getNextWorkDayTime is illustrative and useful, but it needs to have next year's New Year's Day in the list to guarantee working correctly when called with the date 12/30 or 12/31. Fortunately mktime is happy with months outside the 1-12 range. Fix is to add these few characters to the $hdata array: '13/1'/*nextnewyr*/,

« previous php.notes (#183049) next »