note 93055 added to dateinterval.createfromdatestring

From: Date: Thu, 20 Aug 2009 23:35:03 +0000
Subject: note 93055 added to dateinterval.createfromdatestring
Groups: php.notes 
Request: Send a blank email to php-notes+get-159722@lists.php.net to get a copy of this message
In PHP 5.3.0: DateInterval::createFromDateString() seems to use different internals than strtotime() Example: echo strtotime( '+0week sunday' ); correctly returns the timestamp of sunday this week. but $objDateTimeInterval = DateInterval::createFromDateString( '+0week sunday' ); hangs the process until timeout ---- Server IP: 64.71.164.2 Probable Submitter: 70.91.82.193 ---- Manual Page -- http://www.php.net/manual/en/dateinterval.createfromdatestring.php Edit -- https://master.php.net/note/edit/93055 Del: integrated -- https://master.php.net/note/delete/93055/integrated Del: useless -- https://master.php.net/note/delete/93055/useless Del: bad code -- https://master.php.net/note/delete/93055/bad+code Del: spam -- https://master.php.net/note/delete/93055/spam Del: non-english -- https://master.php.net/note/delete/93055/non-english Del: in docs -- https://master.php.net/note/delete/93055/in+docs Del: other reasons-- https://master.php.net/note/delete/93055 Reject -- https://master.php.net/note/reject/93055 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#159722) next »