note 120239 added to class.mongodate

From: Date: Tue, 29 Nov 2016 23:15:22 +0000
Subject: note 120239 added to class.mongodate
Groups: php.notes 
Request: Send a blank email to php-notes+get-207746@lists.php.net to get a copy of this message
This extension is deprecated, but some people still have to use it. Please, note that properties (sec, usec) are read-only. You have to do something like this: <?php $d = new \MongoDate(); echo "\n" . $d->toDateTime()->format(\DateTime::ISO8601); // move to future for 125 seconds $d = new \MongoDate($d->sec + 125, $d->usec); echo "\n" . $d->toDateTime()->format(\DateTime::ISO8601); ?> ---- Server IP: 72.52.91.14 Probable Submitter: 2601:19b:b00:61b0:3010:5a5c:696d:dfe8 ---- Manual Page -- http://php.net/manual/en/class.mongodate.php Edit -- https://master.php.net/note/edit/120239 Del: integrated -- https://master.php.net/note/delete/120239/integrated Del: useless -- https://master.php.net/note/delete/120239/useless Del: bad code -- https://master.php.net/note/delete/120239/bad+code Del: spam -- https://master.php.net/note/delete/120239/spam Del: non-english -- https://master.php.net/note/delete/120239/non-english Del: in docs -- https://master.php.net/note/delete/120239/in+docs Del: other reasons-- https://master.php.net/note/delete/120239 Reject -- https://master.php.net/note/reject/120239 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#207746) next »