Zend 200-550 Question Answer
Which of the following will NOT instantiate a DateTime object with the current timestamp?
$date = new DateTime();
$date = new DateTime('@' . time());
$date = new DateTime('now');
$date = new DateTime(time());
TESTED 18 Jan 2026
Copyright © 2014-2026 ACE4Sure. All Rights Reserved