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

To create an object and set the date to JUNE 22, 2013, which one of the following statement should be executed?

Answer & Solution
Correct Answer: Option D
The dateTime() method is class constructor. You can set the date either at the time of instantiation or later by using a variety of mutators.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.