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

Which of the following statements can be used to add two months to the existing date?

Answer & Solution
Correct Answer: Option A
To change the date stored by a DateTime object after it has been created, you use DateTime::modify() with a natural language expression.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.