Which of the following will NOT instantiate a DateTime object with the current timestamp?
Answer(s): D
Given a DateTime object that is set to the first second of the year 2014, which of the following samples will correctly return a date in the format '2014-01-01 00:00:01'?
Answer(s): C
Given the following DateTime objects, what can you use to compare the two dates and indicate that $date2 is the later of the two dates?$date1 = new DateTime('2014-02-03');$date2 = new DateTime('2014-03-02');
Answer(s): A
Given the following DateTime object, which sample will NOT alter the date to the value '2014-02- 15'?$date = new DateTime('2014-03-15');
Post your Comments and Discuss Zend 200-550 exam with other Community members:
To protect our content from bots for real learners like you, we ask you to register for free. Sign in or sign up now to continue with the 200-550 material!