PrepAway - Latest Free Exam Questions & Answers

what can you use to compare the two dates and indicate that $date2 is the later of the two dates?

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?

PrepAway - Latest Free Exam Questions & Answers

A.
Option A

B.
Option B

C.
Option C

D.
Option D

4 Comments on “what can you use to compare the two dates and indicate that $date2 is the later of the two dates?

  1. anonymous says:

    Correct answer is A.
    option D or C leads to warning messages: “Notice: Object of class DateInterval could not be converted to int”




    0



    0

Leave a Reply

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