1.

Which of the following is the right way to use the DateTime class?

A. $date = get_Class(DateTime);
B. $date = class DateTime;
C. $date = new DateTime();
D. $date = new class DateTime();
E. ;b) $date = class DateTime;c) $date = new DateTime();d) $date = new class DateTime();
Answer» D. $date = new class DateTime();


Discussion

No Comment Found