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 11 Jul 2025
Copyright © 2014-2025 ACE4Sure. All Rights Reserved