note 93750 added to function.strftime

From: Date: Fri, 25 Sep 2009 18:13:14 +0000
Subject: note 93750 added to function.strftime
Groups: php.notes 
Request: Send a blank email to php-notes+get-161082@lists.php.net to get a copy of this message
lamb dot dan's function calculateFiscalYearForDate didn't work properly for me until making the following 3 changes: /* added slash to separate month & year */ $fystartdate = strtotime($fyStart.'/'.$inputyear); /* added slash to separate month & year */ $fyenddate = strtotime($fyEnd.'/'.$inputyear); /* added = to allow for a date of 6/30 */ if($date <= $fyenddate){ ---- Server IP: 64.71.164.2 Probable Submitter: 207.136.254.218 ---- Manual Page -- http://www.php.net/manual/en/function.strftime.php Edit -- https://master.php.net/note/edit/93750 Del: integrated -- https://master.php.net/note/delete/93750/integrated Del: useless -- https://master.php.net/note/delete/93750/useless Del: bad code -- https://master.php.net/note/delete/93750/bad+code Del: spam -- https://master.php.net/note/delete/93750/spam Del: non-english -- https://master.php.net/note/delete/93750/non-english Del: in docs -- https://master.php.net/note/delete/93750/in+docs Del: other reasons-- https://master.php.net/note/delete/93750 Reject -- https://master.php.net/note/reject/93750 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161082) next »