Prev Question
Next Question

Which of the following will NOT instantiate a DateTime object with the current timestamp?

A.
$date = new DateTime();

B.
$date = new DateTime(‘@’ . time());

C.
$date = new DateTime(‘now’);

D.
$date = new DateTime(time());

Prev Question
Next Question

Leave a Reply

Your email address will not be published. Required fields are marked *