ID: 43595 Updated by: [EMAIL PROTECTED] Reported By: mattis at xait dot no -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: Windows XP SP2 PHP Version: 5.2.5 New Comment:
Fixed by Scott in CVS, but not as a factory method, but rather as the normal method setTimestamp(). Previous Comments: ------------------------------------------------------------------------ [2007-12-14 10:47:54] mattis at xait dot no Description: ------------ It would be nice if DateTime could accept something like: $dt = new DateTime(time()); or maybe a method like so: DateTime::createFromTimestamp(time()); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43595&edit=1
