Discussion Forum : Php Date And Timestamp
Question - Which of the following statements can be used to add two months to the existing date?
Options:
A .  $date = modify(‘+2 months’);
B .  $date = modify(‘2+ months’);
C .  $date->modify(‘2+ months’);
D .  $date->modify(‘+2 months’);
Answer: Option D

Submit Your Solution Below and Earn Points !
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *