ExamVeda
Login
Home
This question belongs to PHP Date And Timestamp
Date and Timestamp
?

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

Answer & Solution
Correct Answer: Option C
The way you use the DateTime class is like any other class: instantiate an object, and store it in a variable.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.