note 99662 added to class.dateinterval
| From: | sebastien dot michea at manaty dot net | Date: | Mon, 30 Aug 2010 03:25:53 +0000 |
| Subject: | note 99662 added to class.dateinterval | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-172151@lists.php.net to get a copy of this message | ||
It would be nice that when converting a DateInterval to a string, the interval specification used to
construct the object is returned (like "P2W").
I need this to serialize a DateInterval object in order to store it in a postgres DB.
----
Server IP: 69.147.83.197
Probable Submitter: 121.1.55.84
----
Manual Page -- http://www.php.net/manual/en/class.dateinterval.php
Edit -- https://master.php.net/note/edit/99662
Del: integrated -- https://master.php.net/note/delete/99662/integrated
Del: useless -- https://master.php.net/note/delete/99662/useless
Del: bad code -- https://master.php.net/note/delete/99662/bad+code
Del: spam -- https://master.php.net/note/delete/99662/spam
Del: non-english -- https://master.php.net/note/delete/99662/non-english
Del: in docs -- https://master.php.net/note/delete/99662/in+docs
Del: other reasons-- https://master.php.net/note/delete/99662
Reject -- https://master.php.net/note/reject/99662
Search -- https://master.php.net/manage/user-notes.php