note 109315 added to class.dateperiod

From: Date: Thu, 05 Jul 2012 19:18:38 +0000
Subject: note 109315 added to class.dateperiod
Groups: php.notes 
Request: Send a blank email to php-notes+get-189041@lists.php.net to get a copy of this message
Thanks much to those of you who supplied sample code; that helps a lot. I wanted to mention another thing that helped me: when you do that foreach ( $period as $dt ), the $dt values are DateTime objects. That may be obvious to those of you with more experience, but I wasn't sure until I looked it up on Stack Overflow. So I figured it was worth posting here to help others like me who might've been confused or uncertain. ---- Server IP: 69.147.83.197 Probable Submitter: 67.180.87.190 ---- Manual Page -- http://www.php.net/manual/en/class.dateperiod.php Edit -- https://master.php.net/note/edit/109315 Del: integrated -- https://master.php.net/note/delete/109315/integrated Del: useless -- https://master.php.net/note/delete/109315/useless Del: bad code -- https://master.php.net/note/delete/109315/bad+code Del: spam -- https://master.php.net/note/delete/109315/spam Del: non-english -- https://master.php.net/note/delete/109315/non-english Del: in docs -- https://master.php.net/note/delete/109315/in+docs Del: other reasons-- https://master.php.net/note/delete/109315 Reject -- https://master.php.net/note/reject/109315 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#189041) next »