Which of the following is the right way to use the DateTime class?
Which of the following is the right way to use the DateTime class? Correct Answer $date = new DateTime();
The way you use the DateTime class is like any other class: instantiate an object, and store it in a variable.