PHP - Online Exam Test Papers | PHP - MCQs[multiple choice questions and answers ] | PHP - Mock Test Papers | PHP - Practice Papers | PHP - Sample Test Papers |

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

1.$date->modify(‘+2 months’);

2.$date = modify(‘+2 months’);

3.$date = modify(‘2+ months’);

4.$date->modify(‘2+ months’);

Posted Date:-2021-07-09 11:09:51


More MCQS Questions and answers

Search