Home » PHP » PHP Date/Time » Question
  1. Say you want to calculate the date 65 days from the present date which one of the following statement will you use?
    1. totime(“+65 days”)
    2. strtotime(“-65 days”)
    3. totime(“+65”)
    4. strtotime(“+65 days”)
    5. None of these
Correct Option: D

The strtotime() function and GNU date syntax is used to calculating the date x days from the present date.



Your comments will be displayed only after manual approval.